[yocto] [meta-selinux][PATCH] systemd: no need to inherit enable-selinux

Joe MacDonald Joe_MacDonald at mentor.com
Tue May 2 06:13:44 PDT 2017


[[yocto] [meta-selinux][PATCH] systemd: no need to inherit enable-selinux] On 17.02.22 (Wed 14:44) jackie.huang at windriver.com wrote:

> From: Jackie Huang <jackie.huang at windriver.com>
> 
> The selinux PACKAGECONFIG is properly handled in
> the recipe in oe-core, no need to inherit the
> enable-selinux bbclass.

That might be true, but other than belt-and-suspenders, what's the
harm in this being in the recipe?  I don't necessarily think it's an
invalid change but my quick count shows ~44 instances of 'inherit
enable-selinux' and 'inherit with-selinux' in meta-selinux, why's this
one significant?

-J.

> 
> Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
> ---
>  recipes-core/systemd/systemd_%.bbappend | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend
> index 8d9029b..f1bdaf8 100644
> --- a/recipes-core/systemd/systemd_%.bbappend
> +++ b/recipes-core/systemd/systemd_%.bbappend
> @@ -1,2 +1 @@
>  inherit enable-audit
> -inherit enable-selinux
> -- 
> 2.8.3
> 
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170502/c213b719/attachment.pgp>


More information about the yocto mailing list