[OE-core] [PATCH 1/5] base-files: files will be over written when updating using rpm
Liu Jian
jian.liu at windriver.com
Fri Nov 21 02:06:41 UTC 2014
于 2014年11月21日 04:37, Burton, Ross 写道:
>
> 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
>
We wanted to deal with all editable files including config files(maybe
under /etc), scripts files and so on. Because they may be changed sometime.
But we find that not all files are necessary to handle. For example,
>>>> base-files /etc/motd
I'd expect the above to be changed...but not...
>>>> libpam-runtime: /etc/pam.d/common-account
>>>> /etc/pam.d/common-auth
>>>> /etc/pam.d/common-password
>>>> /etc/pam.d/common-session
>>>> /etc/pam.d/common-session-noninteractive
The key thing for conf files is, is this an action a system
administrator is likely to do? for motd yes it is.. for pam
configurations, not likely.. the operating system developer is the one
who would make these changes.
This patch just handles files that we think should be protected currently.
--
Jian Liu
Email: jian.liu at windriver.com
Office Phone: 86-10-84778539
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141121/0e11bbe2/attachment-0002.html>
More information about the Openembedded-core
mailing list