[Buildroot] [git commit branch/2021.02.x] package/logrotate: add SELinux refpolicy module

Peter Korsgaard peter at korsgaard.com
Fri Mar 19 17:33:50 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=32275b09eb9dcf2f107a622ef1be4ce672742914
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x

SELinux support for logrotate is added by the admin/logrotate refpolicy
module.

Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit bc96eb72e7f48db7aec940c031c6f35520fcbbd3)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/logrotate/logrotate.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/logrotate/logrotate.mk b/package/logrotate/logrotate.mk
index df79da677e..4d1344c2cd 100644
--- a/package/logrotate/logrotate.mk
+++ b/package/logrotate/logrotate.mk
@@ -11,6 +11,7 @@ LOGROTATE_LICENSE = GPL-2.0+
 LOGROTATE_LICENSE_FILES = COPYING
 LOGROTATE_CPE_ID_VENDOR = logrotate_project
 LOGROTATE_DEPENDENCIES = popt host-pkgconf
+LOGROTATE_SELINUX_MODULES = logrotate
 LOGROTATE_CONF_ENV = LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs popt`"
 
 ifeq ($(BR2_PACKAGE_LIBSELINUX),y)


More information about the buildroot mailing list