[yocto] [meta-selinux][PATCH] oe-selinux.conf: set preferred kernel version to 3.14

Khem Raj raj.khem at gmail.com
Mon May 18 19:15:19 PDT 2015


> On May 16, 2015, at 12:04 PM, Philip Tricca <flihp at twobit.us> wrote:
> 
> Upstream 3.19 isn't supported by meta-selinux yet. Set PREFERRED_VERSION
> to 3.14 as a work-around to keep the reference images bootable.
> 
> Signed-off-by: Philip Tricca <flihp at twobit.us>
> ---
> conf/distro/oe-selinux.conf | 2 ++
> 1 file changed, 2 insertions(+)
> 
> diff --git a/conf/distro/oe-selinux.conf b/conf/distro/oe-selinux.conf
> index 6e55a32..ea3adbf 100644
> --- a/conf/distro/oe-selinux.conf
> +++ b/conf/distro/oe-selinux.conf
> @@ -1,4 +1,6 @@
> DISTRO = "oe-selinux"
> DISTROOVERRIDES .= ":selinux"
> 
> +PREFERRED_VERSION_linux-yocto = "3.14%”

IMO this looks a wrong place to pin kernel versions. Its BSPs choice hence belongs to machine
layers. unless you want to limit the scope of this layer to BSPs using linux-yocto only, then you need
to state that in README and still not set this but instead set a bbappend and raise a parse error to inform
the user about the layer expecting linux-yocto 3.14

> +

> DISTRO_FEATURES_append = " acl xattr pam selinux"
> --
> 2.1.4
> 
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150518/b16cf119/attachment.pgp>


More information about the yocto mailing list