From: Bill Pittman <bill.pitt...@ni.com> Making the package more granular by moving the python script into its own package and moving the python dependency from the top level package to the libsemanage-utils package.
Signed-off-by: Bill Pittman <bill.pitt...@ni.com> --- recipes-security/selinux/libsemanage.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-security/selinux/libsemanage.inc b/recipes-security/selinux/libsemanage.inc index 9b238c8..e7ca318 100644 --- a/recipes-security/selinux/libsemanage.inc +++ b/recipes-security/selinux/libsemanage.inc @@ -12,9 +12,11 @@ DEPENDS += "libsepol libselinux bzip2 python bison-native flex-native swig-nativ DEPENDS_append_class-target += "audit" # For /usr/libexec/selinux/semanage_migrate_store -RDEPENDS_${PN} += "python" +RDEPENDS_${PN}-utils += "python" PACKAGES += "${PN}-python" +PACKAGES_prepend = " ${PN}-utils " +FILES_${PN}-utils = "${libexecdir}/*" FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" -- 2.17.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto