Skip to contentSkip to conversation

poky-bleeding.bbclass: Remove use of SRCPV

PATCH New Khem Raj 1 participant 1 message Feb 29, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 poky-bleeding.bbclass: Remove use of SRCPV

---
 meta-poky/classes/poky-bleeding.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-poky/classes/poky-bleeding.bbclass +2 -2
index e5f30687e4b..3bfdcf14540 100644
@@ -1,5 +1,5 @@
 #
-# AUTOREV and PV containing SRCPV needs to be set early, before any anonymous python
+# AUTOREV and PV containing '+git' needs to be set early, before any anonymous python
 # expands anything containing PV, else the parse process won't trigger the fetcher to
 # cache the needed version data
 #
@@ -13,7 +13,7 @@ python pokybleeding_version_handler () {
             bb.warn("Here 5 %s %s" % (d.getVar("PN"), bpn))
         d.setVar("SRCREV", "${AUTOREV}")
         if "+git" not in d.getVar("PV"):
-            d.appendVar("PV", "+git${SRCPV}")
+            d.appendVar("PV", "+git")
 }
 
 addhandler pokybleeding_version_handler
Signature · 1 line
2.44.0