[oe] avoiding hard-coded filenames in package file lists

Robert P. J. Day rpjday at crashcourse.ca
Mon Jul 14 23:35:39 UTC 2014


  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
========================================================================



More information about the Openembedded-devel mailing list