package/refpolicy/Config.in: force merged usr when selecting upstream
PATCH 1/2 package/refpolicy/Config.in: force merged usr when selecting upstream
Refpolicy contexts expect a merged /usr file system. In fact, there are no references to /bin, /sbin, /lib, or /lib64 at all. However, if a user wants to go through the trouble of creating a policy that works with a non-merged system, they should be free to do so. As such, only select BR2_ROOTFS_MERGED_USR if using BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION
Signed-off-by Adam Duskett <[email protected]>
--- package/refpolicy/Config.in | 1 + 1 file changed, 1 insertion(+)
package/refpolicy/Config.in +1 -0
@@ -36,6 +36,7 @@ choice config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION bool "Upstream version" + select BR2_ROOTFS_MERGED_USR help Use the refpolicy as provided by Buildroot.
Signature · 6 lines
2.41.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/refpolicy: bump version to 2.20221101
Signed-off-by Adam Duskett <[email protected]>
--- package/refpolicy/refpolicy.hash | 2 +- package/refpolicy/refpolicy.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/refpolicy/refpolicy.hash +1 -1
@@ -1,5 +1,5 @@ # From https://github.com/SELinuxProject/refpolicy/releases -sha256 44f88e62c8efcef54d019b9ca077520d5993de580926bd7575788cfa78515396 refpolicy-2.20221101.tar.bz2 +sha256 c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410 refpolicy-2.20231002.tar.bz2 # Locally computed sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
package/refpolicy/refpolicy.mk +1 -1
@@ -23,7 +23,7 @@ REFPOLICY_SITE = $(call qstrip,$(BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL)) REFPOLICY_SITE_METHOD = git BR_NO_CHECK_HASH_FOR += $(REFPOLICY_SOURCE) else -REFPOLICY_VERSION = 2.20221101 +REFPOLICY_VERSION = 2.20231002 REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) endif
Signature · 6 lines
2.41.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot