From: Anuj Mittal Date: Fri, 7 Nov 2025 15:53:30 +0000 (+0530) Subject: logrotate: remove reference to state file in CONFFILES X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c728ad07034d47ad827bd67377a7aed227e5028;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git logrotate: remove reference to state file in CONFFILES Since commit a1f7225884 (logrotate: Do not create logrotate.status file) in poky, logrotate.status is not installed or packaged. Remove reference to it from CONFFILES and don't try to create /var/lib which is already taken care of by base-files. Signed-off-by: Anuj Mittal Signed-off-by: Mathieu Dubois-Briand --- diff --git a/meta/recipes-extended/logrotate/logrotate_3.22.0.bb b/meta/recipes-extended/logrotate/logrotate_3.22.0.bb index 79954384082..601333ac8b9 100644 --- a/meta/recipes-extended/logrotate/logrotate_3.22.0.bb +++ b/meta/recipes-extended/logrotate/logrotate_3.22.0.bb @@ -26,7 +26,7 @@ PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}" PACKAGECONFIG[acl] = ",,acl" PACKAGECONFIG[selinux] = ",,libselinux" -CONFFILES:${PN} += "${localstatedir}/lib/logrotate.status \ +CONFFILES:${PN} += "\ ${sysconfdir}/logrotate.conf \ ${sysconfdir}/logrotate.d/btmp \ ${sysconfdir}/logrotate.d/wtmp" @@ -64,7 +64,6 @@ LOGROTATE_SYSTEMD_TIMER_PERSISTENT ?= "true" do_install(){ oe_runmake install DESTDIR=${D} PREFIX=${D} MANDIR=${mandir} mkdir -p ${D}${sysconfdir}/logrotate.d - mkdir -p ${D}${localstatedir}/lib install -p -m 644 ${S}/examples/logrotate.conf ${D}${sysconfdir}/logrotate.conf install -p -m 644 ${S}/examples/btmp ${D}${sysconfdir}/logrotate.d/btmp install -p -m 644 ${S}/examples/wtmp ${D}${sysconfdir}/logrotate.d/wtmp