Skip to contentSkip to conversation

Add ${bindir}/sepolgen to system-config-selinux package.

meta-selinux Philip Tricca 2 participants 2 messages Sep 27, 2013

lore
Share & tools
lore
#0 lore raw

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.

---
 recipes-security/selinux/policycoreutils.inc |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-security/selinux/policycoreutils.inc +4 -1
index 08b14eb..7939095 100644
@@ -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
 
Signature · 1 line
1.7.10.4
#1 lore raw

And this one merged too. Thanks.

-J.

Quoted 26 lines · [[yocto] [meta-selinux] Add ${bindir}/sepolgen to system-config-selinux…

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.

---
 recipes-security/selinux/policycoreutils.inc |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-security/selinux/policycoreutils.inc +4 -1
index 08b14eb..7939095 100644
@@ -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
 
Signature · 2 lines
-Joe MacDonald.
:wq