[OE-core] [PATCH 2/2] logrotate: Identify CONFFILES
Rob Woolley
rob.woolley at windriver.com
Tue Mar 3 21:32:45 UTC 2015
Some package formats explicitly track which files are configuration files
so that they are not overwritten on updates. Explicitly list the
configuration files.
Signed-off by: Rob Woolley <rob.woolley at windriver.com>
--- meta/recipes-extended/logrotate/logrotate_3.8.8.bb
+++ meta/recipes-extended/logrotate/logrotate_3.8.8.bb
@@ -27,6 +27,8 @@ PACKAGECONFIG ?= "\
PACKAGECONFIG[acl] = ",,acl"
PACKAGECONFIG[selinux] = ",,libselinux"
+CONFFILES_${PN} += "/var/lib/logrotate.status /etc/logrotate.conf"
+
# If RPM_OPT_FLAGS is unset, it adds -g itself rather than obeying our
# optimization variables, so use it rather than EXTRA_CFLAGS.
EXTRA_OEMAKE = "\
More information about the Openembedded-core
mailing list