From: Philip Tricca <flihp@twobit.us>
To: Khem Raj <raj.khem@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-selinux][PATCH] oe-selinux.conf: set preferred kernel version to 3.14
Date: Thu, 04 Jun 2015 21:24:54 -0700 [thread overview]
Message-ID: <55712496.5090303@twobit.us> (raw)
In-Reply-To: <EBC449ED-D648-4DDD-BB75-55FF8275A3E0@gmail.com>
On 05/18/2015 07:15 PM, Khem Raj wrote:
>
>> On May 16, 2015, at 12:04 PM, Philip Tricca <flihp@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@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
I picked the distro conf because the SELinux kernel config is why we
need to pin the version (don't have a config for 3.19 yet). Secondly in
looking for an example of using this variable I saw the poky distro
layer pinning the kernel version in the distro.conf. I may have just
been emulating bad behavior here though.
Philip
>
>> +
>
>> DISTRO_FEATURES_append = " acl xattr pam selinux"
>> --
>> 2.1.4
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
next prev parent reply other threads:[~2015-06-05 4:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-16 18:57 [meta-selinux][PATCH] oe-selinux.conf: set preferred kernel version to 3.14 Philip Tricca
2015-05-16 19:04 ` Philip Tricca
2015-05-19 2:15 ` Khem Raj
2015-06-05 4:24 ` Philip Tricca [this message]
2015-05-19 2:15 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55712496.5090303@twobit.us \
--to=flihp@twobit.us \
--cc=raj.khem@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.