From 8408634b9f0883ae299a0441554b93b1f20953b0 Mon Sep 17 00:00:00 2001 From: Antoine Tenart Date: Fri, 31 Jul 2020 12:10:33 +0200 Subject: [PATCH] package/util-linux: select SELinux module Select the fstools SELinux module to be compiled in the policy for the relevant binaries of util-linux. Signed-off-by: Antoine Tenart Signed-off-by: Thomas Petazzoni --- package/util-linux/util-linux.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 3aa51f24fb..4356b2b569 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -43,6 +43,10 @@ HOST_UTIL_LINUX_CONF_OPTS = \ --with-systemdsystemunitdir=no \ --without-python +ifneq ($(BR2_PACKAGE_UTIL_LINUX_BINARIES)$(BR2_PACKAGE_UTIL_LINUX_CRAMFS)$(BR2_PACKAGE_UTIL_LINUX_FSCK)$(BR2_PACKAGE_UTIL_LINUX_LOSETUP),) +UTIL_LINUX_SELINUX_MODULES = fstools +endif + # Prevent the installation from attempting to move shared libraries from # ${usrlib_execdir} (/usr/lib) to ${libdir} (/lib), since both paths are # the same when merged usr is in use. -- 2.30.2