[OE-core] [PATCH 1/5] base-files: files will be over written when updating using rpm

ChenQi Qi.Chen at windriver.com
Fri Nov 21 02:23:50 UTC 2014


On 11/21/2014 04:37 AM, Burton, Ross wrote:
>
> On 14 November 2014 09:43, Jian Liu <jian.liu at windriver.com 
> <mailto:jian.liu at windriver.com>> wrote:
>
>     +CONFFILES_${PN} += "${sysconfdir}/motd
>     ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile"
>
>
> I do have to wonder why we don't allow globs in CONFFILES and set 
> CONFFILES_${PN} to ${sysconfdir} by default...
>
> Ross
>
>
>

Hi Ross,

There's a related bug on bugzilla.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5200

I sent out a patch some time ago about this problem. The patch titile is 
"[OE-core] [PATCH 0/2] Change the way of handling CONFFILES".

I think setting CONFFILES to be ${sysconfdir} and allowing overriding 
might be better than listing each file in CONFFILES in each individual 
recipe.

There's more information in the comment of the bug. If you agree with 
this solution, I can rebase the patch and send out V2.

What do you think?

Best Regards,
Chen Qi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141121/870fb5f0/attachment-0002.html>


More information about the Openembedded-core mailing list