于 2014年11月21日 04:37, Burton, Ross 写道:
On 14 November 2014 09:43, Jian Liu <[email protected]
<mailto:[email protected]>> 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: [email protected]
Office Phone: 86-10-84778539
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core