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:38:46 +0000 |
commit | d82426eb81c57f114788f8f088f59377f0253b29 (patch) | |
tree | c1b0acefc490d93a0e5422c9e72fad0963aede27 /meta/recipes-extended/logrotate | |
parent | 3499838102e63321d61ec33352fd75fb58c4a3e6 (diff) | |
download | openembedded-core-contrib-d82426eb81c57f114788f8f088f59377f0253b29.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>
Diffstat (limited to 'meta/recipes-extended/logrotate')
-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 00432dede26..e3cfa90ced0 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 ?= "\ PACKAGECONFIG[acl] = ",,acl" PACKAGECONFIG[selinux] = ",,libselinux" +CONFFILES_${PN} += "${localstatedir}/lib/logrotate.status \ + ${sysconfdir}/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 = "\ |