[OE-core] [PATCH 0/2] Change the way of handling CONFFILES

ChenQi Qi.Chen at windriver.com
Mon Dec 16 02:20:29 UTC 2013


On 12/14/2013 01:18 AM, Enrico Scholz wrote:
> <Qi.Chen-CWA4WttNNZF54TAoqtyWWQ at public.gmane.org> writes:
>
>> As almost all files under /etc should be considerred as config files,
> A lot of projects (especially from the freedesktop edge) are (ab)using
> /etc to store non configuration files. E.g. all the dbus confguration or
> gconf schemes are not intended to be modified by users.
>

Thanks for your information.

To be frank, I'm not familiar with dbus.
But I think in such situations where some files under /etc are not 
configuration files, we can override the CONFFILES variable in those 
related recipes. And this work could be well handled by someone who's 
familiar with those recipes.

Note that this patch will not affect recipes that have already set the 
CONFFILES variable
Take dbus as an example. In dbus.inc, we have:
CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf 
${sysconfdir}/dbus-1/session.conf"

So the CONFFILES for dbus are not all files under /etc/, but only the 
two files listed above.

Best Regards,
Chen Qi

>
> Enrico
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>




More information about the Openembedded-core mailing list