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

Henning Heinold henning at itconsulting-heinold.de
Tue Jul 15 07:11:01 UTC 2014


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



More information about the Openembedded-devel mailing list