Skip to contentSkip to conversation

setools: Add missing python runtime deps.

PATCH New Piotr Tworek 1 participant 1 message Sep 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 setools: Add missing python runtime deps.

From: Piotr Tworek <[email protected]>

The package needs logging, json and argparse modules to start. Additionaly, it also needs libselinux-python in order to really work. Without it it'll just print an error message instructing the user to install it.

---
 recipes-security/setools/setools_4.1.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-security/setools/setools_4.1.1.bb +2 -1
index 5b6d47d..c5a2d34 100644
@@ -23,7 +23,8 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=83a5eb6974c11f30785e90d0eeccf40c \
 
 DEPENDS += "bison-native flex-native swig-native python libsepol"
 
-RDEPENDS_${PN} += "python-networkx python-enum34 python-decorator python-setuptools"
+RDEPENDS_${PN} += "python-networkx python-enum34 python-decorator python-setuptools \
+                   python-logging python-json python-argparse libselinux-python"
 
 RPROVIDES_${PN} += "${PN}-console"
 
Signature · 1 line
2.16.4