summaryrefslogtreecommitdiffstats
path: root/meta-poky/classes/poky-bleeding.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /meta-poky/classes/poky-bleeding.bbclass
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/classes/poky-bleeding.bbclass')
-rw-r--r--meta-poky/classes/poky-bleeding.bbclass23
1 files changed, 0 insertions, 23 deletions
diff --git a/meta-poky/classes/poky-bleeding.bbclass b/meta-poky/classes/poky-bleeding.bbclass
deleted file mode 100644
index fe558f25a8..0000000000
--- a/meta-poky/classes/poky-bleeding.bbclass
+++ /dev/null
@@ -1,23 +0,0 @@
1#
2# AUTOREV and PV containing '+git' needs to be set early, before any anonymous python
3# expands anything containing PV, else the parse process won't trigger the fetcher to
4# cache the needed version data
5#
6python pokybleeding_version_handler () {
7 bpn = d.getVar("BPN")
8 # We're running before the class extension code at PreFinalise so manually fix BPN
9 bpn = bpn.replace("-nativesdk", "").replace("nativesdk-", "")
10
11 if bpn in d.getVar("POKY_AUTOREV_RECIPES").split():
12 d.setVar("SRCREV", "${AUTOREV}")
13 srcrev_format = d.getVar("SRCREV_FORMAT")
14 if srcrev_format:
15 for multi_scm in d.getVar("SRCREV_FORMAT").split("_"):
16 if multi_scm != "":
17 d.setVar("SRCREV_%s" % multi_scm, "${AUTOREV}")
18 if "+git" not in d.getVar("PV"):
19 d.appendVar("PV", "+git")
20}
21
22addhandler pokybleeding_version_handler
23pokybleeding_version_handler[eventmask] = "bb.event.RecipePreFinalise"