[Buildroot] [git commit branch/2021.08.x] package/systemd: enable selinux xdg module for refpolicy
Peter Korsgaard
peter at korsgaard.com
Tue Nov 9 08:07:44 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=41ece1ac6c01c2d35f5e962e2abaea6314e7a996
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.08.x
Without the selinux xgd module enabled by systemd package, refpolicy
fail to build due to policy/modules/system/systemd.te [1]
policy/modules/system/systemd.te:288:ERROR 'attribute xdg_config_type is not declared' at token ';' on line 508447:
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1710552468
https://gitlab.com/buildroot.org/buildroot/-/jobs/1710552470
[1] https://github.com/SELinuxProject/refpolicy/blob/RELEASE_2_20210908/policy/modules/system/systemd.te#L288
Signed-off-by: Romain Naour <romain.naour at gmail.com>
Cc: Adam Duskett <aduskett at gmail.com>
Cc: Antoine Tenart <atenart at kernel.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit d51189ffe50fab00d36778a53d28c9d5cb34ae42)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/systemd/systemd.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 1a5ccc02fc..d5b0f7203b 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -20,7 +20,7 @@ SYSTEMD_DEPENDENCIES = \
util-linux-libs \
$(TARGET_NLS_DEPENDENCIES)
-SYSTEMD_SELINUX_MODULES = systemd udev
+SYSTEMD_SELINUX_MODULES = systemd udev xdg
SYSTEMD_PROVIDES = udev
More information about the buildroot
mailing list