summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2019-08-22 16:05:23 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2019-08-28 10:28:06 -0400
commitc1309380d7ea55b5f3f84b70156e4f6ed25818ab (patch)
tree414ace550d28948175ff7c6ff3ecbfaf0fe3ce17
parent8c6eabaf8c012cdf007c834aae39daf8a8d45b41 (diff)
downloadmeta-selinux-c1309380d7ea55b5f3f84b70156e4f6ed25818ab.tar.gz
selinux-python: add python-core as runtime dependency
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@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--recipes-security/selinux/selinux-python.inc3
1 files changed, 3 insertions, 0 deletions
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
15 15
16DEPENDS += "python-native libsepol" 16DEPENDS += "python-native libsepol"
17RDEPENDS_${BPN}-audit2allow += "\ 17RDEPENDS_${BPN}-audit2allow += "\
18 python-core \
18 python-textutils \ 19 python-textutils \
19 libselinux-python \ 20 libselinux-python \
20 ${BPN}-sepolgen \ 21 ${BPN}-sepolgen \
21" 22"
22RDEPENDS_${BPN}-chcat += "\ 23RDEPENDS_${BPN}-chcat += "\
24 python-core \
23 python-codecs \ 25 python-codecs \
24 python-shell \ 26 python-shell \
25 python-stringold \ 27 python-stringold \
@@ -28,6 +30,7 @@ RDEPENDS_${BPN}-chcat += "\
28 ${BPN} \ 30 ${BPN} \
29" 31"
30RDEPENDS_${BPN} += "\ 32RDEPENDS_${BPN} += "\
33 python-core \
31 python-codecs \ 34 python-codecs \
32 python-io \ 35 python-io \
33 python-ipy \ 36 python-ipy \