mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1cdf38677b
commit
3e8eb2d55c
@@ -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 = "\
|
||||
|
||||
Reference in New Issue
Block a user