diff mbox series

poky-bleeding.bbclass: Remove use of SRCPV

Message ID 20240229062153.831488-1-raj.khem@gmail.com (mailing list archive)
State New
Headers show
Series poky-bleeding.bbclass: Remove use of SRCPV | expand

Commit Message

Khem Raj Feb. 29, 2024, 6:21 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-poky/classes/poky-bleeding.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-poky/classes/poky-bleeding.bbclass b/meta-poky/classes/poky-bleeding.bbclass
index e5f30687e4b..3bfdcf14540 100644
--- a/meta-poky/classes/poky-bleeding.bbclass
+++ b/meta-poky/classes/poky-bleeding.bbclass
@@ -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