Skip to contentSkip to conversation

bmaptool: put the PV in the filename

PATCH New Ross Burton 1 participant 1 message Apr 23, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bmaptool: put the PV in the filename

We're shipping a release but the filename suggests it is a git snapshot.

To avoid version-going-backwards errors we need to continue to put +git in the PV, so add a comment to remind the upgrader to remove it.

---
 .../bmaptool/{bmaptool_git.bb => bmaptool_3.9.0.bb}          | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-support/bmaptool/{bmaptool_git.bb => bmaptool_3.9.0.bb} (94%)
meta/recipes-support/bmaptool/bmaptool_3.9.0.bb renamed from meta/recipes-support/bmaptool/bmaptool_git.bb +3 -2
similarity index 94%
rename from meta/recipes-support/bmaptool/bmaptool_git.bb
rename to meta/recipes-support/bmaptool/bmaptool_3.9.0.bb
index 155dd0ac80a..28750786afb 100644
@@ -12,8 +12,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 SRC_URI = "git://github.com/yoctoproject/${BPN};branch=main;protocol=https"
 SRCREV = "618a7316102f6f81faa60537503012a419eafa06"
 S = "${WORKDIR}/git"
-BASEVER = "3.9.0"
-PV = "${BASEVER}+git"
+
+# TODO: remove when we upgrade to a release past 3.9.0
+PV .= "+git"
 
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
Signature · 1 line
2.43.0