mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
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>
This commit is contained in:
parent
a410aa4a5a
commit
cd46305a08
|
|
@ -11,11 +11,9 @@ inherit lib_package python-dir
|
|||
DEPENDS += "libsepol libselinux bzip2 python bison-native flex-native swig-native"
|
||||
DEPENDS_append_class-target += "audit"
|
||||
|
||||
# For /usr/libexec/selinux/semanage_migrate_store
|
||||
RDEPENDS_${PN} += "python"
|
||||
|
||||
PACKAGES += "${PN}-python"
|
||||
FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
|
||||
PACKAGES =+ "${PN}-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/*"
|
||||
|
||||
EXTRA_OEMAKE_class-native += "DISABLE_AUDIT=y"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user