diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2020-04-14 15:41:43 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2020-04-15 14:58:15 -0400 |
commit | 8b3efbf23d2aae1fa21fa813751bfa2fa85f95da (patch) | |
tree | 98be8a6f9cf504a5413281c4a664c41e7d2bd914 | |
parent | 9352f8604c0673016d1a2f73529a9638de50adad (diff) | |
download | meta-selinux-8b3efbf23d2aae1fa21fa813751bfa2fa85f95da.tar.gz |
setools: upgrade 4.2.2 -> 4.3.0
Remove __pycache__ directories when do_install.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | recipes-security/setools/setools_4.3.0.bb (renamed from recipes-security/setools/setools_4.2.2.bb) | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes-security/setools/setools_4.2.2.bb b/recipes-security/setools/setools_4.3.0.bb index 6e5a950..ec73f7c 100644 --- a/recipes-security/setools/setools_4.2.2.bb +++ b/recipes-security/setools/setools_4.3.0.bb | |||
@@ -9,17 +9,17 @@ SECTION = "base" | |||
9 | LICENSE = "GPLv2 & LGPLv2.1" | 9 | LICENSE = "GPLv2 & LGPLv2.1" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.2 \ | 12 | SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.3 \ |
13 | file://setools4-fixes-for-cross-compiling.patch \ | 13 | file://setools4-fixes-for-cross-compiling.patch \ |
14 | " | 14 | " |
15 | 15 | ||
16 | SRCREV = "15bffa7823b9a999f9d51533785ade18fe44df08" | 16 | SRCREV = "a57ad3cdb669a39f785c4e85d63416a469c8d445" |
17 | 17 | ||
18 | LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=83a5eb6974c11f30785e90d0eeccf40c \ | 18 | LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=83a5eb6974c11f30785e90d0eeccf40c \ |
19 | file://${S}/COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 19 | file://${S}/COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
20 | file://${S}/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c" | 20 | file://${S}/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c" |
21 | 21 | ||
22 | DEPENDS += "bison-native flex-native swig-native python3 python3-cython-native libsepol" | 22 | DEPENDS += "bison-native flex-native swig-native python3 python3-cython-native libsepol libselinux" |
23 | 23 | ||
24 | RDEPENDS_${PN} += "python3-networkx python3-decorator python3-setuptools \ | 24 | RDEPENDS_${PN} += "python3-networkx python3-decorator python3-setuptools \ |
25 | python3-logging python3-json libselinux-python" | 25 | python3-logging python3-json libselinux-python" |
@@ -32,4 +32,6 @@ do_install_append() { | |||
32 | # Need PyQt5 support, disable gui tools | 32 | # Need PyQt5 support, disable gui tools |
33 | rm -f ${D}${bindir}/apol | 33 | rm -f ${D}${bindir}/apol |
34 | rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setoolsgui | 34 | rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setoolsgui |
35 | rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setools/__pycache__ | ||
36 | rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setools/*/__pycache__ | ||
35 | } | 37 | } |