From: oleksii.miroshko@bmw.de
To: <yocto@lists.yoctoproject.org>
Subject: [meta-selinux][PATCH] setools: Add native support
Date: Fri, 7 Aug 2020 10:27:00 +0000 [thread overview]
Message-ID: <1596796020024.7100@bmw.de> (raw)
From: Oleksii Miroshko <oleksii.miroshko@bmw.de>
Enable using setools for analyzing the built SELinux policy
during the build.
Signed-off-by: Oleksii Miroshko <oleksii.miroshko@bmw.de>
---
recipes-devtools/python/python3-decorator_%.bbappend | 2 ++
recipes-devtools/python/python3-networkx_%.bbappend | 2 ++
recipes-security/setools/setools_4.3.0.bb | 6 ++++++
3 files changed, 10 insertions(+)
create mode 100644 recipes-devtools/python/python3-decorator_%.bbappend
create mode 100644 recipes-devtools/python/python3-networkx_%.bbappend
diff --git a/recipes-devtools/python/python3-decorator_%.bbappend b/recipes-devtools/python/python3-decorator_%.bbappend
new file mode 100644
index 0000000..3bc71e0
--- /dev/null
+++ b/recipes-devtools/python/python3-decorator_%.bbappend
@@ -0,0 +1,2 @@
+BBCLASSEXTEND = "native nativesdk"
+
diff --git a/recipes-devtools/python/python3-networkx_%.bbappend b/recipes-devtools/python/python3-networkx_%.bbappend
new file mode 100644
index 0000000..3bc71e0
--- /dev/null
+++ b/recipes-devtools/python/python3-networkx_%.bbappend
@@ -0,0 +1,2 @@
+BBCLASSEXTEND = "native nativesdk"
+
diff --git a/recipes-security/setools/setools_4.3.0.bb b/recipes-security/setools/setools_4.3.0.bb
index ec73f7c..8fdeeb0 100644
--- a/recipes-security/setools/setools_4.3.0.bb
+++ b/recipes-security/setools/setools_4.3.0.bb
@@ -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
--
2.25.4
next reply other threads:[~2020-08-07 10:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-07 10:27 oleksii.miroshko [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-31 14:23 [meta-selinux][PATCH] setools: Add native support miroshko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1596796020024.7100@bmw.de \
--to=oleksii.miroshko@bmw.de \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.