summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe MacDonald <joe_macdonald@mentor.com>2018-08-13 11:16:34 -0400
committerJoe MacDonald <joe_macdonald@mentor.com>2018-08-13 11:20:10 -0400
commit0b59889548f12f85d76a763abb9ccb2da4d6f7d3 (patch)
tree3a9c26c284be0d1d868093b101c250ace44d563b
parentcd46305a0838142ff4b619e8f50a57ece9cebfef (diff)
downloadmeta-selinux-0b59889548f12f85d76a763abb9ccb2da4d6f7d3.tar.gz
libsemanage-python: add runtime dependency on python
Moving the python components to their own package removes a hard dependency on all of libsemanage but requires an explicit runtime dependency on python. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--recipes-security/selinux/libsemanage.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-security/selinux/libsemanage.inc b/recipes-security/selinux/libsemanage.inc
index ee31e4b..d957d89 100644
--- a/recipes-security/selinux/libsemanage.inc
+++ b/recipes-security/selinux/libsemanage.inc
@@ -12,6 +12,10 @@ DEPENDS += "libsepol libselinux bzip2 python bison-native flex-native swig-nativ
12DEPENDS_append_class-target += "audit" 12DEPENDS_append_class-target += "audit"
13 13
14PACKAGES =+ "${PN}-python" 14PACKAGES =+ "${PN}-python"
15
16# For /usr/libexec/selinux/semanage_migrate_store
17RDEPENDS_${PN}-python += "python"
18
15FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ 19FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \
16 ${libexecdir}/selinux/semanage_migrate_store" 20 ${libexecdir}/selinux/semanage_migrate_store"
17FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" 21FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*"