Skip to contentSkip to conversation

poky/yocto-bsp: update default kernel and drop old bbappends

PATCH New Bruce Ashfield 1 participant 4 messages Feb 21, 2020

lore
Share & tools
lore
#0 lore raw

cover poky/yocto-bsp: update default kernel and drop old bbappends

From: Bruce Ashfield <[email protected]>

Hi all,

This goes along with my series to oe-core. Once that goes in, this bumps the default and drops v4.19.

Cheers,

Bruce

The following changes since commit e4be65a39aecd10e31991879114856c2784ecd69:

qemu: bump default reference kernel to v5.4 (2020-02-20 09:27:05 -0500)

are available in the Git repository at:

git://git.yoctoproject.org/poky-contrib zedd/kernel-yocto
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-yocto

Bruce Ashfield (3):
poky: bump preferred kernel to v5.4
poky-alt: bump LTS kernel to v5.4
yocto-bsp: drop 4.19 bbappend

 .../include/poky-distro-alt-test-config.inc   |  2 +-
 meta-poky/conf/distro/poky.conf               |  2 +-
 .../linux/linux-yocto_4.19.bbappend           | 23 -------------------
 3 files changed, 2 insertions(+), 25 deletions(-)
 delete mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.19.bbappend
Signature · 1 line
2.19.1
#1 lore raw

PATCH 1/3 poky: bump preferred kernel to v5.4

From: Bruce Ashfield <[email protected]>

Ensure that the 5.4 LTS kernel is the preferred version for all poky boards.

---
 meta-poky/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-poky/conf/distro/poky.conf +1 -1
index 49c2bef407..8111f19caa 100644
@@ -21,7 +21,7 @@ POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
 
 DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
 
-PREFERRED_VERSION_linux-yocto ?= "5.2%"
+PREFERRED_VERSION_linux-yocto ?= "5.4%"
 
 SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
 SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
Signature · 1 line
2.19.1
#2 lore raw

PATCH 2/3 poky-alt: bump LTS kernel to v5.4

In reply to Bruce Ashfield

From: Bruce Ashfield <[email protected]>

We move from 4.19 to 5.4 as the LTS kernel.

---
 meta-poky/conf/distro/include/poky-distro-alt-test-config.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-poky/conf/distro/include/poky-distro-alt-test-config.inc +1 -1
index 9926c1bb02..0b0412e60c 100644
@@ -2,7 +2,7 @@
 DISTRO_FEATURES_append = " pam"
 
 # Use the LTSI Kernel
-PREFERRED_VERSION_linux-yocto ?= "4.19%"
+PREFERRED_VERSION_linux-yocto ?= "5.4%"
 
 # Ensure the kernel nfs server is enabled
 KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc"
Signature · 1 line
2.19.1
#3 lore raw

PATCH 3/3 yocto-bsp: drop 4.19 bbappend

In reply to Bruce Ashfield

From: Bruce Ashfield <[email protected]>

5.4 is the new LTS kernel, so we drop the 4.19 bbappens as the 4.19 kernel will be removed.

---
 .../linux/linux-yocto_4.19.bbappend           | 23 -------------------
 1 file changed, 23 deletions(-)
 delete mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.19.bbappend
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.19.bbappend deleted +0 -23
deleted file mode 100644
index 7b4bd2c4ee..0000000000
@@ -1,23 +0,0 @@
-KBRANCH_genericx86  = "v4.19/standard/base"
-KBRANCH_genericx86-64  = "v4.19/standard/base"
-KBRANCH_edgerouter = "v4.19/standard/edgerouter"
-KBRANCH_beaglebone-yocto = "v4.19/standard/beaglebone"
-
-KMACHINE_genericx86 ?= "common-pc"
-KMACHINE_genericx86-64 ?= "common-pc-64"
-KMACHINE_beaglebone-yocto ?= "beaglebone"
-
-SRCREV_machine_genericx86    ?= "5664dc14399edcaad210bbeb6343d84561fb3ea8"
-SRCREV_machine_genericx86-64 ?= "5664dc14399edcaad210bbeb6343d84561fb3ea8"
-SRCREV_machine_edgerouter ?= "5664dc14399edcaad210bbeb6343d84561fb3ea8"
-SRCREV_machine_beaglebone-yocto ?= "5664dc14399edcaad210bbeb6343d84561fb3ea8"
-
-COMPATIBLE_MACHINE_genericx86 = "genericx86"
-COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
-COMPATIBLE_MACHINE_edgerouter = "edgerouter"
-COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
-
-LINUX_VERSION_genericx86 = "4.19.34"
-LINUX_VERSION_genericx86-64 = "4.19.34"
-LINUX_VERSION_edgerouter = "4.19.34"
-LINUX_VERSION_beaglebone-yocto = "4.19.34"
Signature · 1 line
2.19.1