avoiding hard-coded filenames in package file lists
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
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 4 lines · Robert P. J. Day
occasionally, i still trip across stuff like this (this is from
oe-core):
Quoted 8 lines
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