From 5ef032c67574e868f7f8b3f1f20297f16c8f0420 Mon Sep 17 00:00:00 2001 From: Sasi Kumar Maddineni Date: Tue, 21 Oct 2025 08:58:55 +0530 Subject: [PATCH] refpolicy: Correct policy version in semanage.conf as per checkpolicy The code "OUTPUT_POLICY=`${STAGING_BINDIR_NATIVE}/checkpolicy -V | cut -d' ' -f1`" assigns OUTPUT_POLICY with 35 and policy.35 is getting generated. So, correcting the policy version in semanage.conf file too. Signed-off-by: Sasi Kumar Maddineni Signed-off-by: Yi Zhao --- recipes-security/refpolicy/refpolicy_common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc index 657e086..964906b 100644 --- a/recipes-security/refpolicy/refpolicy_common.inc +++ b/recipes-security/refpolicy/refpolicy_common.inc @@ -206,7 +206,7 @@ path = ${STAGING_DIR_NATIVE}${sbindir_native}/sefcontext_compile args = \$@ [end] -policy-version = 33 +policy-version = 35 EOF # Create policy store and build the policy