summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJed <jed.openxt@gmail.com>2018-05-25 17:37:37 -0400
committerJoe MacDonald <joe_macdonald@mentor.com>2018-08-13 09:28:05 -0400
commitcd46305a0838142ff4b619e8f50a57ece9cebfef (patch)
treecc92865c50ef8a0e8599fb72a59edf6bd366bc79
parenta410aa4a5a449a7fa385bcb392deac2bb8c00bef (diff)
downloadmeta-selinux-cd46305a0838142ff4b619e8f50a57ece9cebfef.tar.gz
libsemanage: lift dependency on python for the main package
Just moving the python script to the -python package. This allows using libsemanage without requiring python. Signed-off-by: Jed <jed.openxt@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--recipes-security/selinux/libsemanage.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/recipes-security/selinux/libsemanage.inc b/recipes-security/selinux/libsemanage.inc
index 9b238c8..ee31e4b 100644
--- a/recipes-security/selinux/libsemanage.inc
+++ b/recipes-security/selinux/libsemanage.inc
@@ -11,11 +11,9 @@ inherit lib_package python-dir
11DEPENDS += "libsepol libselinux bzip2 python bison-native flex-native swig-native" 11DEPENDS += "libsepol libselinux bzip2 python bison-native flex-native swig-native"
12DEPENDS_append_class-target += "audit" 12DEPENDS_append_class-target += "audit"
13 13
14# For /usr/libexec/selinux/semanage_migrate_store 14PACKAGES =+ "${PN}-python"
15RDEPENDS_${PN} += "python" 15FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \
16 16 ${libexecdir}/selinux/semanage_migrate_store"
17PACKAGES += "${PN}-python"
18FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
19FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" 17FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*"
20 18
21EXTRA_OEMAKE_class-native += "DISABLE_AUDIT=y" 19EXTRA_OEMAKE_class-native += "DISABLE_AUDIT=y"