From d51189ffe50fab00d36778a53d28c9d5cb34ae42 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Fri, 5 Nov 2021 22:14:23 +0100 Subject: [PATCH] package/systemd: enable selinux xdg module for refpolicy 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 Cc: Adam Duskett Cc: Antoine Tenart Signed-off-by: Yann E. MORIN --- 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 8c187d2ec3..a8b11faa5e 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