* Switch to python3 * Rebase patch Signed-off-by: Yi Zhao <yi.z...@windriver.com> --- recipes-security/selinux/selinux-sandbox.inc | 10 ++++------ .../selinux/selinux-sandbox/sandbox-de-bashify.patch | 9 +++++---- recipes-security/selinux/selinux-sandbox_2.8.bb | 7 ------- recipes-security/selinux/selinux-sandbox_2.9.bb | 7 +++++++ 4 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 recipes-security/selinux/selinux-sandbox_2.8.bb create mode 100644 recipes-security/selinux/selinux-sandbox_2.9.bb
diff --git a/recipes-security/selinux/selinux-sandbox.inc b/recipes-security/selinux/selinux-sandbox.inc index 854640c..c8e335a 100644 --- a/recipes-security/selinux/selinux-sandbox.inc +++ b/recipes-security/selinux/selinux-sandbox.inc @@ -13,12 +13,10 @@ SRC_URI += "file://sandbox-de-bashify.patch \ DEPENDS += "libcap-ng libselinux" RDEPENDS_${PN} += "\ - python-core \ - python-math \ - python-shell \ - python-subprocess \ - python-textutils \ - python-unixadmin \ + python3-core \ + python3-math \ + python3-shell \ + python3-unixadmin \ libselinux-python \ selinux-python \ " diff --git a/recipes-security/selinux/selinux-sandbox/sandbox-de-bashify.patch b/recipes-security/selinux/selinux-sandbox/sandbox-de-bashify.patch index 18cef4b..e9622f0 100644 --- a/recipes-security/selinux/selinux-sandbox/sandbox-de-bashify.patch +++ b/recipes-security/selinux/selinux-sandbox/sandbox-de-bashify.patch @@ -1,4 +1,4 @@ -From d3e778e0062ca441c80e2a3ef2b508f5566e1f70 Mon Sep 17 00:00:00 2001 +From b92c39f0be5552c19923f75aef4487348a08b7dc Mon Sep 17 00:00:00 2001 From: Joe MacDonald <joe_macdon...@mentor.com> Date: Fri, 20 Feb 2015 21:07:47 -0500 Subject: [PATCH] sandbox: de-bashify @@ -10,9 +10,10 @@ Upstream-Status: Pending Signed-off-by: Joe MacDonald <joe_macdon...@mentor.com> Signed-off-by: Wenzong Fan <wenzong....@windriver.com> +Signed-off-by: Yi Zhao <yi.z...@windriver.com> --- - sandbox/sandbox.init | 2 +- - sandbox/sandboxX.sh | 2 +- + sandbox.init | 2 +- + sandboxX.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sandbox.init b/sandbox.init @@ -36,5 +37,5 @@ index eaa500d..8755d75 100644 context=`id -Z | secon -t -l -P` export TITLE="Sandbox $context -- `grep ^#TITLE: ~/.sandboxrc | /usr/bin/cut -b8-80`" -- -1.9.1 +2.7.4 diff --git a/recipes-security/selinux/selinux-sandbox_2.8.bb b/recipes-security/selinux/selinux-sandbox_2.8.bb deleted file mode 100644 index 1eb6c2d..0000000 --- a/recipes-security/selinux/selinux-sandbox_2.8.bb +++ /dev/null @@ -1,7 +0,0 @@ -include selinux_20180524.inc -include ${BPN}.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" - -SRC_URI[md5sum] = "957f5d0fc7724f93f502d1d632568894" -SRC_URI[sha256sum] = "025f84f76e07b7bfc9ba1e9215f4ddb646d41a2e935a65e07560feaa6fc20ef3" diff --git a/recipes-security/selinux/selinux-sandbox_2.9.bb b/recipes-security/selinux/selinux-sandbox_2.9.bb new file mode 100644 index 0000000..b1dd462 --- /dev/null +++ b/recipes-security/selinux/selinux-sandbox_2.9.bb @@ -0,0 +1,7 @@ +require selinux_20190315.inc +require ${BPN}.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" + +SRC_URI[md5sum] = "3482b8fa6648160e97ba48ad26f84e7d" +SRC_URI[sha256sum] = "01915f57f08642751dea550a87f82a6f2fcec754be48dcfa28266c14bd044262" -- 2.17.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto