meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to semanage
The semanage utility is missing two dependencies, so if your system hasn't happened to pick them up, it will install but not be able to execute. Add the missing dependencies. (Tested locally using a bbappend file.)
Note that gzip.py requires python-io. That's already in BPN-python, which is already in RDEPENDS, so I'm not adding it specifically to semanage.
The following changes since commit a6079a43719e79e12a57e609923a0cccdba06916:
refpolicy: fix real path for su.shadow (2014-02-13 10:52:07 -0500)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib seebs/semanage-python-depends
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/semanage-python-depends
Peter Seebach (1):
policycoreutils.inc: Add missing dependencies for semanage
recipes-security/selinux/policycoreutils.inc | 2 ++ 1 file changed, 2 insertions(+)
And here's the actual patch:
policycoreutils.inc: Add missing dependencies for
semanage
The semanage utility requires python-compression (for "import gzip") and python-xml (for "import xml.etree.ElementTree").
--- recipes-security/selinux/policycoreutils.inc | 2 ++ 1 file changed, 2 insertions(+)
recipes-security/selinux/policycoreutils.inc +2 -0
@@ -75,6 +75,8 @@ RDEPENDS_${BPN}-secon += "libselinux" RDEPENDS_${BPN}-semanage = "\ python-core \ python-ipy \ + python-compression \ + python-xml \ ${BPN}-python \ libselinux-python \ "
Signature · 5 lines
1.8.3.4 -- Listen, get this. Nobody with a good compiler needs to be justified.
Joe MacDonald
AppliedMerged, thanks.
-J.
Quoted 54 lines · [[yocto] meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to…
The semanage utility is missing two dependencies, so if your system hasn't happened to pick them up, it will install but not be able to execute. Add the missing dependencies. (Tested locally using a bbappend file.)
Note that
gzip.pyrequires python-io. That's already in BPN-python, which is already in RDEPENDS, so I'm not adding it specifically to semanage.The following changes since commit
a6079a43719e79e12a57e609923a0cccdba06916:refpolicy: fix real path for su.shadow (2014-02-13 10:52:07 -0500)
are available in the git repository at:
git://git.yoctoproject.org/poky-contribseebs/semanage-python-depends
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/semanage-python-dependsPeter Seebach (1):
policycoreutils.inc: Add missing dependencies for semanagerecipes-security/selinux/policycoreutils.inc | 2 ++ 1 file changed, 2 insertions(+)And here's the actual patch:
policycoreutils.inc: Add missing dependencies for
semanageThe semanage utility requires python-compression (for "import gzip") and python-xml (for "import xml.etree.ElementTree").
Signed-off-by Peter Seebach <[email protected]>--- recipes-security/selinux/policycoreutils.inc | 2 ++ 1 file changed, 2 insertions(+)recipes-security/selinux/policycoreutils.inc +2
-0@@ -75,6 +75,8 @@ RDEPENDS_${BPN}-secon += "libselinux" RDEPENDS_${BPN}-semanage = "\ python-core \ python-ipy \ + python-compression \ + python-xml \ ${BPN}-python \ libselinux-python \ "Signature · 5 lines
1.8.3.4 -- Listen, get this. Nobody with a good compiler needs to be justified.
Signature · 2 lines
-Joe MacDonald. :wq