diff options
| author | Jed <jed.openxt@gmail.com> | 2018-05-25 17:37:37 -0400 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2018-08-13 09:28:05 -0400 |
| commit | cd46305a0838142ff4b619e8f50a57ece9cebfef (patch) | |
| tree | cc92865c50ef8a0e8599fb72a59edf6bd366bc79 | |
| parent | a410aa4a5a449a7fa385bcb392deac2bb8c00bef (diff) | |
| download | meta-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.inc | 8 |
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 | |||
| 11 | DEPENDS += "libsepol libselinux bzip2 python bison-native flex-native swig-native" | 11 | DEPENDS += "libsepol libselinux bzip2 python bison-native flex-native swig-native" |
| 12 | DEPENDS_append_class-target += "audit" | 12 | DEPENDS_append_class-target += "audit" |
| 13 | 13 | ||
| 14 | # For /usr/libexec/selinux/semanage_migrate_store | 14 | PACKAGES =+ "${PN}-python" |
| 15 | RDEPENDS_${PN} += "python" | 15 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ |
| 16 | 16 | ${libexecdir}/selinux/semanage_migrate_store" | |
| 17 | PACKAGES += "${PN}-python" | ||
| 18 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" | ||
| 19 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" | 17 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" |
| 20 | 18 | ||
| 21 | EXTRA_OEMAKE_class-native += "DISABLE_AUDIT=y" | 19 | EXTRA_OEMAKE_class-native += "DISABLE_AUDIT=y" |
