summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-10-08 08:10:50 -0700
committerRobert Yang <liezhi.yang@windriver.com>2015-10-08 19:41:43 -0700
commitc1a0f5138542a1f120dd58958d19efb20adbb223 (patch)
tree08e02f51f1ba5796baa8e522c33d84b803bcc89d
parent4038970f8ce27ac0d7a0afe2cdaa9a65108dfff5 (diff)
downloadopenembedded-core-contrib-c1a0f5138542a1f120dd58958d19efb20adbb223.tar.gz
openembedded-core-contrib-c1a0f5138542a1f120dd58958d19efb20adbb223.tar.bz2
openembedded-core-contrib-c1a0f5138542a1f120dd58958d19efb20adbb223.zip
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, 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>
-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 9ddd1c080b..7a53819962 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}/*"
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
${sysconfdir} ${sharedstatedir} ${localstatedir} \