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

Joe MacDonald joe at deserted.net
Fri Sep 27 11:08:12 PDT 2013


And this one merged too.  Thanks.

-J.

[[yocto] [meta-selinux] Add ${bindir}/sepolgen to system-config-selinux package.] On 13.09.27 (Fri 01:40) Philip Tricca wrote:

> 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
>  
-- 
-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/20130927/4662de13/attachment.pgp>


More information about the yocto mailing list