mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
setools: Add native support
Enable using setools for analyzing the built SELinux policy during the build. Signed-off-by: Oleksii Miroshko <miroshko@gmail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
parent
15fed8756a
commit
500578b2c2
2
recipes-devtools/python/python3-decorator_%.bbappend
Normal file
2
recipes-devtools/python/python3-decorator_%.bbappend
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
2
recipes-devtools/python/python3-networkx_%.bbappend
Normal file
2
recipes-devtools/python/python3-networkx_%.bbappend
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
|
|
@ -8,6 +8,8 @@ SETools."
|
|||
SECTION = "base"
|
||||
LICENSE = "GPLv2 & LGPLv2.1"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk "
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.3 \
|
||||
file://setools4-fixes-for-cross-compiling.patch \
|
||||
|
|
@ -21,9 +23,13 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=83a5eb6974c11f30785e90d0eeccf40c \
|
|||
|
||||
DEPENDS += "bison-native flex-native swig-native python3 python3-cython-native libsepol libselinux"
|
||||
|
||||
DEPENDS_class-native += "libselinux python3-setuptools python3-cython python3-networkx"
|
||||
|
||||
RDEPENDS_${PN} += "python3-networkx python3-decorator python3-setuptools \
|
||||
python3-logging python3-json libselinux-python"
|
||||
|
||||
RDEPENDS_${PN}_class-native = ""
|
||||
|
||||
RPROVIDES_${PN} += "${PN}-console"
|
||||
|
||||
inherit setuptools3
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user