All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] linux-yocto*: Set MACHINE-specific LINUX_VERSION variables
@ 2016-09-19 23:31 California Sullivan
  0 siblings, 0 replies; only message in thread
From: California Sullivan @ 2016-09-19 23:31 UTC (permalink / raw)
  To: openembedded-core

Some machines move to new kernel versions slower, making the catch-all
LINUX_VERSION variable inaccurate. This mismatch is a security concern
and with 5df5974d53f88a85b2bb789708b86049b091e3aa becomes a build time
error.

Fix this by setting each MACHINE's LINUX_VERSION to the kernel version
each MACHINE builds.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
---
 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend | 3 +++
 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend
index 6dd173b..10a9ce0 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -21,3 +21,6 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
 
 LINUX_VERSION_genericx86 = "4.1.30"
 LINUX_VERSION_genericx86-64 = "4.1.30"
+LINUX_VERSION_edgerouter = "4.1.24"
+LINUX_VERSION_beaglebone = "4.1.24"
+LINUX_VERSION_mcp8315e-rdb = "4.1.24"
diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend
index 4a7f7e2..6d9cd8d 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend
@@ -21,3 +21,6 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
 
 LINUX_VERSION_genericx86 = "4.4.18"
 LINUX_VERSION_genericx86-64 = "4.4.18"
+LINUX_VERSION_edgerouter = "4.4.11"
+LINUX_VERSION_beaglebone = "4.4.11"
+LINUX_VERSION_mpc8315e-rdb = "4.4.11"
-- 
2.5.5



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-19 23:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19 23:31 [PATCH 1/1] linux-yocto*: Set MACHINE-specific LINUX_VERSION variables California Sullivan

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.