Skip to contentSkip to conversation

poky-tiny: set preferred version to 5.8

PATCH New Bruce Ashfield 1 participant 2 messages Aug 26, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 poky-tiny: set preferred version to 5.8

From: Bruce Ashfield <[email protected]>

Even though tiny isn't extensively used (it was referencing a removed kernel version), it still should be updated to the latest.

Build testing passed with the 5.8 kernel, so we make it the preferred version.

---
 meta-poky/conf/distro/poky-tiny.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-poky/conf/distro/poky-tiny.conf +1 -1
index c6d4b88f83..57826037f0 100644
@@ -38,7 +38,7 @@ TCLIBC = "musl"
 # Distro config is evaluated after the machine config, so we have to explicitly
 # set the kernel provider to override a machine config.
 PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
-PREFERRED_VERSION_linux-yocto-tiny ?= "5.0%"
+PREFERRED_VERSION_linux-yocto-tiny ?= "5.8%"
 
 # We can use packagegroup-core-boot, but in the future we may need a new packagegroup-core-tiny
 #POKY_DEFAULT_EXTRA_RDEPENDS += "packagegroup-core-boot"
Signature · 1 line
2.19.1
#1 lore raw

PATCH 2/2 poky: add preferred version for linux-yocto-rt

From: Bruce Ashfield <[email protected]>

As a step towards getting more testing on -rt, we should explicitly set the preferred version for linux-yocto-rt.

Newly introduced kernels lag in -rt support (as we wait for upstream projects), so we don't want the version to always be the latest by default.

---
 meta-poky/conf/distro/poky.conf | 1 +
 1 file changed, 1 insertion(+)
meta-poky/conf/distro/poky.conf +1 -0
index 826f0d633a..b89dc5c1d9 100644
@@ -22,6 +22,7 @@ POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
 DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
 
 PREFERRED_VERSION_linux-yocto ?= "5.8%"
+PREFERRED_VERSION_linux-yocto-rt ?= "5.4%"
 
 SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
 SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
Signature · 1 line
2.19.1