package/kexec: add SELinux refpolicy module
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Thu, 28 Jan 2021 09:27:53 +0000 (10:27 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 16 Mar 2021 22:10:35 +0000 (23:10 +0100)
SELinux support for kexec and kdump is added by the admin/kdump
refpolicy module.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/kexec/kexec.mk

index 63fcc074b5d364e8e93eae5dc902f67d0bfb0a59..c54ce1f11a60840d428631fe8a9222a38a1a481b 100644 (file)
@@ -9,6 +9,7 @@ KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz
 KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec
 KEXEC_LICENSE = GPL-2.0
 KEXEC_LICENSE_FILES = COPYING
+KEXEC_SELINUX_MODULES = kdump
 
 # Makefile expects $STRIP -o to work, so needed for !BR2_STRIP_strip
 KEXEC_MAKE_OPTS = STRIP="$(TARGET_CROSS)strip"