From: Robert Yang <liezhi.yang@windriver.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/8] bitbake.conf: set CONFFILES by default
Date: Fri, 9 Oct 2015 22:56:30 +0800 [thread overview]
Message-ID: <5617D59E.30307@windriver.com> (raw)
In-Reply-To: <20151009141946.GA2384@jama>
On 10/09/2015 10:19 PM, Martin Jansa wrote:
> On Thu, Oct 08, 2015 at 07:44:36PM -0700, Robert Yang wrote:
>> There are a lot of binary packages have files in /etc/, but only a few
>> of them have set CONFFILES, 187 packages are not set in a world build.
>> So treat all the files in /etc/ as CONFILES as Debian does
>> - Move the file out of /etc/ if it is not a conffile
>> - If /etc/foo can't be moved out, and is changed during
>> runtime, then create a symlink /etc/foo -> /var/foo
>>
>> [YOCTO #8436]
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>> meta/conf/bitbake.conf | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
>> index 9ddd1c0..7a53819 100644
>> --- a/meta/conf/bitbake.conf
>> +++ b/meta/conf/bitbake.conf
>> @@ -269,6 +269,7 @@ PACKAGE_BEFORE_PN ?= ""
>> PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
>> PACKAGES_DYNAMIC = "^${PN}-locale-.*"
>> FILES = ""
>> +CONFFILES = "${sysconfdir}/*"
>
> Should this be
> CONFFILS_${PN} ?
I think that CONFFILES is better than CONFFILES_${PN}, since package.bbclass
checks both CONFFILES and CONFFILES_pkg, if we use CONFFILES_${PN} here, then
it doesn't work for the pkg like openssh-sshd and openssh-ssh, but CONFFILES
works for them.
// Robert
>
>>
>> FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
>> ${sysconfdir} ${sharedstatedir} ${localstatedir} \
>> --
>> 1.7.9.5
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
next prev parent reply other threads:[~2015-10-09 14:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-09 2:44 [YOCTO 2.1] [PATCH 0/8] set CONFFILES to /etc/* by default as Debian does Robert Yang
2015-10-09 2:44 ` [PATCH 1/8] bitbake.conf: set CONFFILES by default Robert Yang
2015-10-09 14:19 ` Martin Jansa
2015-10-09 14:56 ` Robert Yang [this message]
2015-10-09 2:44 ` [PATCH 2/8] recipes-bsp: cleanup CONFFILES Robert Yang
2015-10-09 2:44 ` [PATCH 3/8] recipes-connectivity: " Robert Yang
2015-10-09 2:44 ` [PATCH 4/8] recipes-extended: " Robert Yang
2015-10-09 2:44 ` [PATCH 5/8] recipes-core: " Robert Yang
2015-10-09 2:44 ` [PATCH 6/8] recipes-devtools: " Robert Yang
2015-10-09 2:44 ` [PATCH 7/8] recipes-graphics: " Robert Yang
2015-10-09 2:44 ` [PATCH 8/8] recipes-multimedia/sato/support: " Robert Yang
-- strict thread matches above, loose matches on Subject: below --
2016-01-15 2:29 [PATCH 0/8] bitbake.conf: set CONFFILES by default Robert Yang
2016-01-15 2:29 ` [PATCH 1/8] " Robert Yang
2016-01-15 6:27 ` Mike Looijmans
2016-01-15 6:37 ` Robert Yang
2016-01-16 10:51 ` Mike Looijmans
2016-01-18 1:33 ` Robert Yang
2016-01-15 11:12 ` Richard Purdie
2016-01-16 5:36 ` Robert Yang
2016-01-16 11:07 ` Mike Looijmans
2016-01-18 2:21 ` Robert Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5617D59E.30307@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.