summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRob Woolley <rob.woolley@windriver.com>2015-03-09 19:52:58 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:42:05 +0000
commit3e8eb2d55cdda3234b9b9f848c901c2dda68ebec (patch)
tree181e312c8a40c19bfd2915d9ff6567fadd59339b /meta
parent1cdf38677b7420a38f7de53e4dec564427094774 (diff)
downloadpoky-3e8eb2d55cdda3234b9b9f848c901c2dda68ebec.tar.gz
logrotate: Identify CONFFILES
Some package formats explicitly track which files are configuration files so that they are not overwritten on updates. We must use an explicit list instead of a wildcard as logrotate also provides files under ${sysconfdir} that are not configuration files. Signed-off by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.8.8.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.8.8.bb b/meta/recipes-extended/logrotate/logrotate_3.8.8.bb
index 00432dede2..e3cfa90ced 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.8.8.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.8.8.bb
@@ -27,6 +27,9 @@ PACKAGECONFIG ?= "\
27PACKAGECONFIG[acl] = ",,acl" 27PACKAGECONFIG[acl] = ",,acl"
28PACKAGECONFIG[selinux] = ",,libselinux" 28PACKAGECONFIG[selinux] = ",,libselinux"
29 29
30CONFFILES_${PN} += "${localstatedir}/lib/logrotate.status \
31 ${sysconfdir}/logrotate.conf"
32
30# If RPM_OPT_FLAGS is unset, it adds -g itself rather than obeying our 33# If RPM_OPT_FLAGS is unset, it adds -g itself rather than obeying our
31# optimization variables, so use it rather than EXTRA_CFLAGS. 34# optimization variables, so use it rather than EXTRA_CFLAGS.
32EXTRA_OEMAKE = "\ 35EXTRA_OEMAKE = "\