All of lore.kernel.org
 help / color / mirror / Atom feed
* avoiding hard-coded filenames in package file lists
@ 2014-07-14 23:35 Robert P. J. Day
  2014-07-15  7:11 ` Henning Heinold
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2014-07-14 23:35 UTC (permalink / raw)
  To: OpenEmbedded Development mailing list


  occasionally, i still trip across stuff like this (this is from
oe-core):

meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb:FILES_${PN} = "/etc ${datadir}/fonts"

i'm assuming that one should avoid hard-coding names like "/etc" in
this case, and instead use (in this case) ${sysconfdir}, yes?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: avoiding hard-coded filenames in package file lists
  2014-07-14 23:35 avoiding hard-coded filenames in package file lists Robert P. J. Day
@ 2014-07-15  7:11 ` Henning Heinold
  0 siblings, 0 replies; 2+ messages in thread
From: Henning Heinold @ 2014-07-15  7:11 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Jul 14, 2014 at 07:35:39PM -0400, Robert P. J. Day wrote:
> 
>   occasionally, i still trip across stuff like this (this is from
> oe-core):
> 
> meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb:FILES_${PN} = "/etc ${datadir}/fonts"
> 
> i'm assuming that one should avoid hard-coding names like "/etc" in
> this case, and instead use (in this case) ${sysconfdir}, yes?
> 
> rday
> 
> -- 

Yes!

Bye Henning


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-15  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14 23:35 avoiding hard-coded filenames in package file lists Robert P. J. Day
2014-07-15  7:11 ` Henning Heinold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.