diff mbox series

[meta-oe,2/4] libusbmuxd: Stop using gitpkgv

Message ID 20261028055817.4055253-2-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-oe,1/4] usbmuxd: Stop using gitpkgv | expand

Commit Message

Khem Raj Oct. 28, 2026, 5:58 a.m. UTC
Both recipes set PKGV = "${GITPKGVTAG}". With shallow clones there are no
tags or history, so the 2.1.1 recipe, whose SRCREV is exactly the 2.1.1
tag, got PKGV 0.0-1-g<hash>, a downgrade from 2.1.1, and gitpkgv warns:

  WARNING: libusbmuxd: Shallow cloning enabled - gitpkgv.bbclass will not
  generate sortable versions

Drop gitpkgv. PKGV now defaults to PV: 2.1.1 for the release recipe, and
2.0.2+git<AUTOINC>+<hash> for the git recipe.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.1.1.bb | 4 +---
 meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb   | 3 +--
 2 files changed, 2 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.1.1.bb b/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.1.1.bb
index 7869fc1941..40293e1521 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.1.1.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.1.1.bb
@@ -4,9 +4,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=6ab17b41640564434dda85c06b7124f7"
 
 DEPENDS = "udev libusb1 libplist libimobiledevice-glue"
 
-inherit autotools pkgconfig gitpkgv
-
-PKGV = "${GITPKGVTAG}"
+inherit autotools pkgconfig
 
 SRCREV = "adf9c22b9010490e4b55eaeb14731991db1c172c"
 SRC_URI = "git://github.com/libimobiledevice/libusbmuxd;protocol=https;branch=master"
diff --git a/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb b/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb
index 76759fe69d..de480dacbf 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb
@@ -4,9 +4,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=6ab17b41640564434dda85c06b7124f7"
 
 DEPENDS = "udev libusb1 libplist libimobiledevice-glue"
 
-inherit autotools pkgconfig gitpkgv
+inherit autotools pkgconfig
 
-PKGV = "${GITPKGVTAG}"
 PV = "2.0.2+git"
 
 SRCREV = "36ffb7ab6e2a7e33bd1b56398a88895b7b8c615a"