Skip to contentSkip to conversation

poky-bleeding: Update and rework

PATCH Superseded Richard Purdie 1 participant 1 message Mar 15, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky-bleeding: Update and rework

This distro setting has bitrotted quite badly but the idea remains a good one. Try and improve things by:

* using a class and a list of recipes to make things more readable
* drop settings for recipes which no longer use git
* drop obsolete PREFERRED_VERSION settings
* add a provider switch to use linux-yocto-dev
* reword to avoid "package" confusion with recipe

The distro then builds and highlighted a number of matchbox issues which other patches address and improve.

---
 meta-poky/classes/poky-bleeding.bbclass       |  5 ++
 .../include/poky-floating-revisions.inc       | 69 ++++++-------------
 meta-poky/conf/distro/poky-bleeding.conf      |  6 +-
 3 files changed, 27 insertions(+), 53 deletions(-)
 create mode 100644 meta-poky/classes/poky-bleeding.bbclass
meta-poky/classes/poky-bleeding.bbclass new file +5 -0
new file mode 100644
index 00000000000..3167d623fc3
@@ -0,0 +1,5 @@
+python () {
+    for recipe in d.getVar("POKY_AUTOREV_RECIPES").split():
+        d.setVar("SRCREV:pn-%s" % recipe, "${AUTOREV}")
+        d.setVar("PV:append:pn-%s" % recipe, "+git${SRCPV}")
+}
meta-poky/conf/distro/include/poky-floating-revisions.inc +21 -48

73 lines not on this page · raw message

meta-poky/conf/distro/poky-bleeding.conf +1 -5
index 2d3e046a457..8cbf2284d0a 100644
@@ -1,8 +1,4 @@
-PREFERRED_VERSION_glib-2.0 ?= "2.17.4"
-PREFERRED_VERSION_glib-2.0-native ?= "2.17.4"
-PREFERRED_VERSION_atk ?= "1.22.0"
-PREFERRED_VERSION_pango ?= "1.21.2"
-PREFERRED_VERSION_gtk+ ?= "2.13.3"
+PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
 
 require conf/distro/include/poky-floating-revisions.inc
 require conf/distro/poky.conf
Signature · 1 line
2.38.1