* Switch to python3
* Update policy-version to 31 to match selinux 2.9
Signed-off-by: Yi Zhao <[email protected]>
---
recipes-security/refpolicy/refpolicy_common.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/recipes-security/refpolicy/refpolicy_common.inc
b/recipes-security/refpolicy/refpolicy_common.inc
index 2d9ace5..2083a37 100644
--- a/recipes-security/refpolicy/refpolicy_common.inc
+++ b/recipes-security/refpolicy/refpolicy_common.inc
@@ -72,12 +72,12 @@ EXTRANATIVEPATH += "bzip2-native"
DEPENDS += "bzip2-replacement-native checkpolicy-native policycoreutils-native
semodule-utils-native m4-native"
RDEPENDS_${PN}-dev =+ " \
- python \
+ python3-core \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-inherit pythonnative
+inherit python3native
PARALLEL_MAKE = ""
@@ -181,7 +181,7 @@ path =
${STAGING_DIR_NATIVE}${sbindir_native}/sefcontext_compile
args = \$@
[end]
-policy-version = 30
+policy-version = 31
EOF
# Create policy store and build the policy
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#47803): https://lists.yoctoproject.org/g/yocto/message/47803
Mute This Topic: https://lists.yoctoproject.org/mt/69227792/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-