mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
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>
This commit is contained in:
parent
9352f8604c
commit
8b3efbf23d
|
|
@ -9,17 +9,17 @@ SECTION = "base"
|
|||
LICENSE = "GPLv2 & LGPLv2.1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.2 \
|
||||
SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.3 \
|
||||
file://setools4-fixes-for-cross-compiling.patch \
|
||||
"
|
||||
|
||||
SRCREV = "15bffa7823b9a999f9d51533785ade18fe44df08"
|
||||
SRCREV = "a57ad3cdb669a39f785c4e85d63416a469c8d445"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=83a5eb6974c11f30785e90d0eeccf40c \
|
||||
file://${S}/COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://${S}/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
DEPENDS += "bison-native flex-native swig-native python3 python3-cython-native libsepol"
|
||||
DEPENDS += "bison-native flex-native swig-native python3 python3-cython-native libsepol libselinux"
|
||||
|
||||
RDEPENDS_${PN} += "python3-networkx python3-decorator python3-setuptools \
|
||||
python3-logging python3-json libselinux-python"
|
||||
|
|
@ -32,4 +32,6 @@ do_install_append() {
|
|||
# Need PyQt5 support, disable gui tools
|
||||
rm -f ${D}${bindir}/apol
|
||||
rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setoolsgui
|
||||
rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setools/__pycache__
|
||||
rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setools/*/__pycache__
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user