[yocto] [meta-selinux] Add ${bindir}/sepolgen to system-config-selinux package.

Philip Tricca flihp at twobit.us
Thu Sep 26 18:40:17 PDT 2013


Currently the policycoreutils package has a broken link from
${bindir}/sepolgen to ${datadir}/system-config-selinux/polgen.py.
All of the other polgen stuff is in system-config-selinux so
adding sepolgen to same package seems like the right thing to do.

Signed-off-by: Philip Tricca <flihp at twobit.us>
---
 recipes-security/selinux/policycoreutils.inc |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc
index 08b14eb..7939095 100644
--- a/recipes-security/selinux/policycoreutils.inc
+++ b/recipes-security/selinux/policycoreutils.inc
@@ -48,7 +48,10 @@ FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
 FILES_${PN}-sandbox = "${datadir}/sandbox/*"
 FILES_${PN}-sandbox += "${bindir}/sandbox"
 FILES_${PN}-sandbox += "${sbindir}/seunshare"
-FILES_system-config-selinux = "${datadir}/system-config-selinux/*"
+FILES_system-config-selinux = " \
+    ${bindir}/sepolgen \
+    ${datadir}/system-config-selinux/* \
+"
 
 inherit pythonnative
 
-- 
1.7.10.4




More information about the yocto mailing list