oe-selinux.conf: set preferred kernel version to 3.14
PATCH 1/1 oe-selinux.conf: set preferred kernel version to 3.14
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.
--- conf/distro/oe-selinux.conf | 2 ++ 1 file changed, 2 insertions(+)
conf/distro/oe-selinux.conf +2 -0
@@ -1,4 +1,6 @@ DISTRO = "oe-selinux" DISTROOVERRIDES .= ":selinux" +PREFERRED_VERSION_linux-yocto = "3.14%" + DISTRO_FEATURES_append = " acl xattr pam selinux"
Signature · 1 line
2.1.4
PATCH 1/1 oe-selinux.conf: set preferred kernel version to 3.14
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.
--- conf/distro/oe-selinux.conf | 2 ++ 1 file changed, 2 insertions(+)
conf/distro/oe-selinux.conf +2 -0
@@ -1,4 +1,6 @@ DISTRO = "oe-selinux" DISTROOVERRIDES .= ":selinux" +PREFERRED_VERSION_linux-yocto = "3.14%" + DISTRO_FEATURES_append = " acl xattr pam selinux"
Signature · 1 line
2.1.4
Quoted 19 lines · Philip Tricca
Upstream 3.19 isn't supported by meta-selinux yet. Set
PREFERRED_VERSIONto 3.14 as a work-around to keep the reference images bootable.Signed-off-by Philip Tricca <[email protected]>---
conf/distro/oe-selinux.conf| 2 ++1 file changed, 2 insertions(+)conf/distro/oe-selinux.conf +0
-0@@ -1,4 +1,6 @@DISTRO = "oe-selinux"
DISTROOVERRIDES .= ":selinux"
Quoted 1 line
+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
Quoted 11 lines
+
DISTRO_FEATURES_append= " acl xattr pam selinux"
--
2.1.4--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 19 lines · Khem Raj
Quoted 19 lines · Philip Tricca
Upstream 3.19 isn't supported by meta-selinux yet. Set
PREFERRED_VERSIONto 3.14 as a work-around to keep the reference images bootable.Signed-off-by Philip Tricca <[email protected]>---
conf/distro/oe-selinux.conf| 2 ++1 file changed, 2 insertions(+)conf/distro/oe-selinux.conf +0
-0@@ -1,4 +1,6 @@DISTRO = "oe-selinux"
DISTROOVERRIDES .= ":selinux"
Quoted 6 lines
Quoted 1 line
+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
Quoted 13 lines
Quoted 12 lines
+
DISTRO_FEATURES_append= " acl xattr pam selinux"
--
2.1.4--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 17 lines · Philip Tricca
Upstream 3.19 isn't supported by meta-selinux yet. Set
PREFERRED_VERSIONto 3.14 as a work-around to keep the reference images bootable.
---conf/distro/oe-selinux.conf| 2 ++1 file changed, 2 insertions(+)conf/distro/oe-selinux.conf +0
-0@@ -1,4 +1,6 @@DISTRO = "oe-selinux"
DISTROOVERRIDES .= ":selinux"
Quoted 1 line
+PREFERRED_VERSION_linux-yocto = "3.14%”
same here
Quoted 11 lines
+
DISTRO_FEATURES_append= " acl xattr pam selinux"
--
2.1.4--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto