package/dmidecode: add SELinux refpolicy module
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Thu, 28 Jan 2021 09:27:51 +0000 (10:27 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 16 Mar 2021 22:10:33 +0000 (23:10 +0100)
Dmidecode provides 4 tools, for which support for SELinux is provided by
the admin/dmidecode refpolicy module.

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

index 89d9155f953fad4501feff73c1dc5e711d7fd4ce..3f09cc956dfcde99e9c2c4cdf8665571ee6480f7 100644 (file)
@@ -9,6 +9,7 @@ DMIDECODE_SOURCE = dmidecode-$(DMIDECODE_VERSION).tar.xz
 DMIDECODE_SITE = http://download.savannah.gnu.org/releases/dmidecode
 DMIDECODE_LICENSE = GPL-2.0+
 DMIDECODE_LICENSE_FILES = LICENSE
+DMIDECODE_SELINUX_MODULES = dmidecode
 
 define DMIDECODE_BUILD_CMDS
        $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)