summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-02-28 22:21:53 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-14 06:29:00 +0100
commit9a197e4f92b97d216dee902f16b448f55d50876b (patch)
tree6322ecb8ef0f5a89f05083bb263175f363999df5
parent9aae4e166000880ba83141b08e66ce2b338d1694 (diff)
downloadpoky-9a197e4f92b97d216dee902f16b448f55d50876b.tar.gz
poky-bleeding.bbclass: Remove use of SRCPV
(From meta-yocto rev: a287fabcc55cbe46bc660ad45e03f94428824386) (From meta-yocto rev: 705258d7ad70b4b69f4c5b5397101853ae7ba4d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-poky/classes/poky-bleeding.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-poky/classes/poky-bleeding.bbclass b/meta-poky/classes/poky-bleeding.bbclass
index e5f30687e4..3bfdcf1454 100644
--- a/meta-poky/classes/poky-bleeding.bbclass
+++ b/meta-poky/classes/poky-bleeding.bbclass
@@ -1,5 +1,5 @@
1# 1#
2# AUTOREV and PV containing SRCPV needs to be set early, before any anonymous python 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 3# expands anything containing PV, else the parse process won't trigger the fetcher to
4# cache the needed version data 4# cache the needed version data
5# 5#
@@ -13,7 +13,7 @@ python pokybleeding_version_handler () {
13 bb.warn("Here 5 %s %s" % (d.getVar("PN"), bpn)) 13 bb.warn("Here 5 %s %s" % (d.getVar("PN"), bpn))
14 d.setVar("SRCREV", "${AUTOREV}") 14 d.setVar("SRCREV", "${AUTOREV}")
15 if "+git" not in d.getVar("PV"): 15 if "+git" not in d.getVar("PV"):
16 d.appendVar("PV", "+git${SRCPV}") 16 d.appendVar("PV", "+git")
17} 17}
18 18
19addhandler pokybleeding_version_handler 19addhandler pokybleeding_version_handler