diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-12-23 16:21:52 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2019-12-24 09:24:15 -0500 |
commit | 555cbd0243330d3408ed436c5569c241a9d294ca (patch) | |
tree | 2a635c831318c901aec7cb1541b239657f3b4d39 | |
parent | c966bce55378b6fa579d9f4b190c89a986694725 (diff) | |
download | meta-selinux-555cbd0243330d3408ed436c5569c241a9d294ca.tar.gz |
refpolicy: switch to python3
* Switch to python3
* Update policy-version to 31 to match selinux 2.9
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | recipes-security/refpolicy/refpolicy_common.inc | 6 |
1 files 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" | |||
72 | DEPENDS += "bzip2-replacement-native checkpolicy-native policycoreutils-native semodule-utils-native m4-native" | 72 | DEPENDS += "bzip2-replacement-native checkpolicy-native policycoreutils-native semodule-utils-native m4-native" |
73 | 73 | ||
74 | RDEPENDS_${PN}-dev =+ " \ | 74 | RDEPENDS_${PN}-dev =+ " \ |
75 | python \ | 75 | python3-core \ |
76 | " | 76 | " |
77 | 77 | ||
78 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 78 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
79 | 79 | ||
80 | inherit pythonnative | 80 | inherit python3native |
81 | 81 | ||
82 | PARALLEL_MAKE = "" | 82 | PARALLEL_MAKE = "" |
83 | 83 | ||
@@ -181,7 +181,7 @@ path = ${STAGING_DIR_NATIVE}${sbindir_native}/sefcontext_compile | |||
181 | args = \$@ | 181 | args = \$@ |
182 | [end] | 182 | [end] |
183 | 183 | ||
184 | policy-version = 30 | 184 | policy-version = 31 |
185 | EOF | 185 | EOF |
186 | 186 | ||
187 | # Create policy store and build the policy | 187 | # Create policy store and build the policy |