mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/refpolicy: bump version to 2.20231002
Drop upstream patch Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
aa87875b9f
commit
68de45491b
@@ -1,33 +0,0 @@
|
|||||||
From 6c6be65ccf0891391681d4662cc11f508c0f4aeb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Adam Duskett <aduskett@gmail.com>
|
|
||||||
Date: Mon, 24 Apr 2023 14:24:49 -0700
|
|
||||||
Subject: [PATCH] mount: dbus interface must be optional
|
|
||||||
|
|
||||||
If DBus isn't built, the build process fails due to mount.te always using a
|
|
||||||
dbus interface even if the dbus module. Fix this by setting the dbus interface
|
|
||||||
as optional.
|
|
||||||
|
|
||||||
Signed-off-by: Adam Duskett <aduskett@gmail.com>
|
|
||||||
Upstream: https://github.com/SELinuxProject/refpolicy/commit/207b09a656c2c3ac5c286d3f7eef085325e35408
|
|
||||||
---
|
|
||||||
policy/modules/system/mount.te | 4 +++-
|
|
||||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te
|
|
||||||
index d028723..af84af0 100644
|
|
||||||
--- a/policy/modules/system/mount.te
|
|
||||||
+++ b/policy/modules/system/mount.te
|
|
||||||
@@ -145,7 +145,9 @@ selinux_getattr_fs(mount_t)
|
|
||||||
|
|
||||||
userdom_use_all_users_fds(mount_t)
|
|
||||||
|
|
||||||
-dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t)
|
|
||||||
+optional_policy(`
|
|
||||||
+ dbus_dontaudit_write_system_bus_runtime_named_sockets(mount_t)
|
|
||||||
+')
|
|
||||||
|
|
||||||
ifdef(`distro_redhat',`
|
|
||||||
optional_policy(`
|
|
||||||
--
|
|
||||||
2.40.0
|
|
||||||
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# From https://github.com/SELinuxProject/refpolicy/releases
|
# From https://github.com/SELinuxProject/refpolicy/releases
|
||||||
sha256 44f88e62c8efcef54d019b9ca077520d5993de580926bd7575788cfa78515396 refpolicy-2.20221101.tar.bz2
|
sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2
|
||||||
|
|
||||||
# Locally computed
|
# Locally computed
|
||||||
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
|
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ REFPOLICY_SITE = $(call qstrip,$(BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL))
|
|||||||
REFPOLICY_SITE_METHOD = git
|
REFPOLICY_SITE_METHOD = git
|
||||||
BR_NO_CHECK_HASH_FOR += $(REFPOLICY_SOURCE)
|
BR_NO_CHECK_HASH_FOR += $(REFPOLICY_SOURCE)
|
||||||
else
|
else
|
||||||
REFPOLICY_VERSION = 2.20221101
|
REFPOLICY_VERSION = 2.20231002
|
||||||
REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2
|
REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2
|
||||||
REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION))
|
REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION))
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user