diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-08-22 16:05:23 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2019-08-28 10:28:06 -0400 |
commit | c1309380d7ea55b5f3f84b70156e4f6ed25818ab (patch) | |
tree | 414ace550d28948175ff7c6ff3ecbfaf0fe3ce17 | |
parent | 8c6eabaf8c012cdf007c834aae39daf8a8d45b41 (diff) | |
download | meta-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.inc | 3 |
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 | ||
16 | DEPENDS += "python-native libsepol" | 16 | DEPENDS += "python-native libsepol" |
17 | RDEPENDS_${BPN}-audit2allow += "\ | 17 | RDEPENDS_${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 | " |
22 | RDEPENDS_${BPN}-chcat += "\ | 23 | RDEPENDS_${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 | " |
30 | RDEPENDS_${BPN} += "\ | 32 | RDEPENDS_${BPN} += "\ |
33 | python-core \ | ||
31 | python-codecs \ | 34 | python-codecs \ |
32 | python-io \ | 35 | python-io \ |
33 | python-ipy \ | 36 | python-ipy \ |