From 9a197e4f92b97d216dee902f16b448f55d50876b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 28 Feb 2024 22:21:53 -0800 Subject: [PATCH] poky-bleeding.bbclass: Remove use of SRCPV (From meta-yocto rev: a287fabcc55cbe46bc660ad45e03f94428824386) (From meta-yocto rev: 705258d7ad70b4b69f4c5b5397101853ae7ba4d3) Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- 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 e5f30687e4..3bfdcf1454 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