[yocto] [meta-selinux][PATCH 1/2] selinux-python: add python-core as runtime dependency
Yi Zhao
yi.zhao at windriver.com
Thu Aug 22 01:05:23 PDT 2019
Fix QA issues:
QA Issue: /usr/lib64/python2.7/site-packages/seobject.py contained in package selinux-python requires /usr/bin/python,
but no providers found in RDEPENDS_selinux-python? [file-rdeps]
QA Issue: /usr/bin/audit2allow contained in package selinux-python-audit2allow requires /usr/bin/python,
but no providers found in RDEPENDS_selinux-python-audit2allow? [file-rdeps]
QA Issue: /usr/bin/chcat contained in package selinux-python-chcat requires /usr/bin/python,
but no providers found in RDEPENDS_selinux-python-chcat? [file-rdeps]
Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
recipes-security/selinux/selinux-python.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes-security/selinux/selinux-python.inc b/recipes-security/selinux/selinux-python.inc
index c774de4..57042ab 100644
--- a/recipes-security/selinux/selinux-python.inc
+++ b/recipes-security/selinux/selinux-python.inc
@@ -15,11 +15,13 @@ inherit python-dir
DEPENDS += "python-native libsepol"
RDEPENDS_${BPN}-audit2allow += "\
+ python-core \
python-textutils \
libselinux-python \
${BPN}-sepolgen \
"
RDEPENDS_${BPN}-chcat += "\
+ python-core \
python-codecs \
python-shell \
python-stringold \
@@ -28,6 +30,7 @@ RDEPENDS_${BPN}-chcat += "\
${BPN} \
"
RDEPENDS_${BPN} += "\
+ python-core \
python-codecs \
python-io \
python-ipy \
--
2.7.4
More information about the yocto
mailing list