Skip to contentSkip to conversation

poky-tiny: Update kernel to 3.19

PATCH Superseded Saul Wold 1 participant 2 messages Jun 9, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 poky-tiny: Update kernel to 3.19

Additionally, allow both PREFERRED_VERSION and PREFERRED_PROVIDE to be overridden

[YOCTO #7478]

---
 meta-yocto/conf/distro/poky-tiny.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-yocto/conf/distro/poky-tiny.conf +2 -2
index aa60e77..63bbd88 100644
@@ -36,8 +36,8 @@ DISTRO = "poky-tiny"
 
 # 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 = "3.14%"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-tiny"
+PREFERRED_VERSION_linux-yocto-tiny ?= "3.19%"
 
 # 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.1.0
author
#1 lore raw
Quoted 15 lines · Saul Wold

Additionally, allow both PREFERRED_VERSION and PREFERRED_PROVIDE to be overridden

[YOCTO #7478]

---
  meta-yocto/conf/distro/poky-tiny.conf | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta-yocto/conf/distro/poky-tiny.conf +0 -0
index aa60e77..63bbd88 100644

meta-yocto/conf/distro/poky-tiny.conf DISTRO = "poky-tiny" · line 43

Quoted 10 lines
meta-yocto/conf/distro/poky-tiny.conf +2 -2
@@ -36,8 +36,8 @@ DISTRO = "poky-tiny"
 
  # 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 = "3.14%"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-tiny"
+PREFERRED_VERSION_linux-yocto-tiny ?= "3.19%"
 
  # 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"

Drop this patch please, the ?= change was masked by something I had in my local.conf and does not actually work correct. The qemu.inc has a PREFERRED_PROVIDER ?= already and actually causes this to be not used as the first ?= found wins.

Sau!