diff options
| author | Joe MacDonald <joe_macdonald@mentor.com> | 2018-08-13 11:16:34 -0400 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2018-08-13 11:20:10 -0400 |
| commit | 0b59889548f12f85d76a763abb9ccb2da4d6f7d3 (patch) | |
| tree | 3a9c26c284be0d1d868093b101c250ace44d563b | |
| parent | cd46305a0838142ff4b619e8f50a57ece9cebfef (diff) | |
| download | meta-selinux-0b59889548f12f85d76a763abb9ccb2da4d6f7d3.tar.gz | |
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 <joe_macdonald@mentor.com>
| -rw-r--r-- | recipes-security/selinux/libsemanage.inc | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
| 12 | DEPENDS_append_class-target += "audit" | 12 | DEPENDS_append_class-target += "audit" |
| 13 | 13 | ||
| 14 | PACKAGES =+ "${PN}-python" | 14 | PACKAGES =+ "${PN}-python" |
| 15 | |||
| 16 | # For /usr/libexec/selinux/semanage_migrate_store | ||
| 17 | RDEPENDS_${PN}-python += "python" | ||
| 18 | |||
| 15 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ | 19 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ |
| 16 | ${libexecdir}/selinux/semanage_migrate_store" | 20 | ${libexecdir}/selinux/semanage_migrate_store" |
| 17 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" | 21 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" |
