[yocto] [PATCH] selinux-python: Fix dependency for ntpath

Lorenz Kofler lorenz at sigma-star.at
Wed Aug 28 07:03:33 PDT 2019


On yocto warrior the semanage tool didn't work correctly, because it
couldn't find ntpath module. It turned out that this module is now part
of the package python-misc, therefore add dependency to python-misc.

Signed-off-by: Lorenz Kofler <lorenz at sigma-star.at>
---
 recipes-security/selinux/selinux-python.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-security/selinux/selinux-python.inc b/recipes-security/selinux/selinux-python.inc
index c774de4..911d678 100644
--- a/recipes-security/selinux/selinux-python.inc
+++ b/recipes-security/selinux/selinux-python.inc
@@ -44,7 +44,8 @@ RDEPENDS_${BPN}-semanage += "\
         python-ipy \
         python-compression \
         python-xml \
-        libselinux-python \
+        python-misc \
+	libselinux-python \
         ${BPN} \
 "
 RDEPENDS_${BPN}-sepolicy += "\
-- 
2.16.4



More information about the yocto mailing list