[OE-core] [PATCH 1/8] bitbake.conf: set CONFFILES by default
Martin Jansa
martin.jansa at gmail.com
Fri Oct 9 14:19:46 UTC 2015
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 at 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} ?
>
> FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
> ${sysconfdir} ${sharedstatedir} ${localstatedir} \
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151009/49235d66/attachment-0002.sig>
More information about the Openembedded-core
mailing list