[yocto] meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to semanage

Joe MacDonald joe at deserted.net
Thu Apr 3 11:53:10 PDT 2014


Merged, thanks.
-J.

[[yocto] meta-selinux/policycoreutils [PATCH 1/1] Add missing dependencies to semanage] On 14.03.26 (Wed 19:45) Peter Seebach wrote:

> 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").
> 
> Signed-off-by: Peter Seebach <peter.seebach at windriver.com>
> ---
>  recipes-security/selinux/policycoreutils.inc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc
> index 56470e9..521e70b 100644
> --- a/recipes-security/selinux/policycoreutils.inc
> +++ b/recipes-security/selinux/policycoreutils.inc
> @@ -75,6 +75,8 @@ RDEPENDS_${BPN}-secon += "libselinux"
>  RDEPENDS_${BPN}-semanage = "\
>  	python-core \
>  	python-ipy \
> +	python-compression \
> +	python-xml \
>  	${BPN}-python \
>  	libselinux-python \
>  "
> -- 
> 1.8.3.4
> 
> 
> -- 
> Listen, get this.  Nobody with a good compiler needs to be justified.
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140403/42935ba7/attachment.pgp>


More information about the yocto mailing list