[PATCH] poky-bleeding.bbclass: Remove use of SRCPV

Khem Raj <[email protected]>
Newsgroups org.yoctoproject.lists.poky
Message-ID <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
---
 meta-poky/classes/poky-bleeding.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.44.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.