From 0b59889548f12f85d76a763abb9ccb2da4d6f7d3 Mon Sep 17 00:00:00 2001 From: Joe MacDonald Date: Mon, 13 Aug 2018 11:16:34 -0400 Subject: 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 --- recipes-security/selinux/libsemanage.inc | 4 ++++ 1 file changed, 4 insertions(+) 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 DEPENDS_append_class-target += "audit" PACKAGES =+ "${PN}-python" + +# For /usr/libexec/selinux/semanage_migrate_store +RDEPENDS_${PN}-python += "python" + FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ ${libexecdir}/selinux/semanage_migrate_store" FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" -- cgit v1.2.3-54-g00ecf