aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-10-08 08:10:50 -0700
committerRobert Yang <liezhi.yang@windriver.com>2016-01-14 18:27:59 -0800
commit06cd5b4b25da645fae5767a44b2e5d63550cdb52 (patch)
treee3716cf829b9e36ccade991fc4c16c7721de0b98
parent541315d6c56df6448f64c262f99d43d5c1e9400b (diff)
downloadopenembedded-core-contrib-06cd5b4b25da645fae5767a44b2e5d63550cdb52.tar.gz
bitbake.conf: set CONFFILES by default
There are a lot of binary packages have files in /etc/, but only a few of them have set CONFFILES, more than 180 packages are not set in a world build. So treat all the files in /etc/ as CONFFILES as Debian does: - All the files in /etc/ are CONFFILES - 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>
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 2fe6b24d67..f0e4b3a9df 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -271,6 +271,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}/*"
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
${sysconfdir} ${sharedstatedir} ${localstatedir} \