diff options
author | Rob Woolley <rob.woolley@windriver.com> | 2015-03-09 19:52:58 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-16 17:42:05 +0000 |
commit | 3e8eb2d55cdda3234b9b9f848c901c2dda68ebec (patch) | |
tree | 181e312c8a40c19bfd2915d9ff6567fadd59339b /meta | |
parent | 1cdf38677b7420a38f7de53e4dec564427094774 (diff) | |
download | poky-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.bb | 3 |
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 ?= "\ | |||
27 | PACKAGECONFIG[acl] = ",,acl" | 27 | PACKAGECONFIG[acl] = ",,acl" |
28 | PACKAGECONFIG[selinux] = ",,libselinux" | 28 | PACKAGECONFIG[selinux] = ",,libselinux" |
29 | 29 | ||
30 | CONFFILES_${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. |
32 | EXTRA_OEMAKE = "\ | 35 | EXTRA_OEMAKE = "\ |