From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from yocto-www.yoctoproject.org (yocto-www.yoctoproject.org [140.211.169.56]) by mx.groups.io with SMTP id smtpd.web11.841.1577089365712726647 for ; Mon, 23 Dec 2019 00:22:45 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=softfail (domain: windriver.com, ip: 140.211.169.56, mailfrom: yi.zhao@windriver.com) Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 92FE1E0122A; Mon, 23 Dec 2019 00:22:45 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, * medium trust * [147.11.146.13 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 95E47E01162 for ; Mon, 23 Dec 2019 00:22:44 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.2) with ESMTPS id xBN8MhcA017320 (version=TLSv1 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 23 Dec 2019 00:22:43 -0800 (PST) Received: from localhost (128.224.162.174) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.468.0; Mon, 23 Dec 2019 00:22:42 -0800 From: "Yi Zhao" To: , , Subject: [meta-selinux][PATCH 6/6] refpolicy: switch to python3 Date: Mon, 23 Dec 2019 16:21:52 +0800 Message-ID: <20191223082152.7706-6-yi.zhao@windriver.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191223082152.7706-1-yi.zhao@windriver.com> References: <20191223082152.7706-1-yi.zhao@windriver.com> MIME-Version: 1.0 X-Originating-IP: [128.224.162.174] Content-Type: text/plain * Switch to python3 * Update policy-version to 31 to match selinux 2.9 Signed-off-by: Yi Zhao --- 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