diff mbox series

[meta-oe,1/4] usbmuxd: Stop using gitpkgv

Message ID 20261028055817.4055253-1-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
PKGV = "${GITPKGVTAG}" relies on "git describe --tags --exact-match",
which never matches here since SRCREV is not a tag, so PKGV fell back to
0.0-<commit count>-g<hash>, below every release. With shallow clones the
count is always 1 as well, and gitpkgv warns:

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

Drop gitpkgv and let PKGV default to PV, to which the fetcher appends the
PR server AUTOINC and the revision (1.1.2+git0+01c94c77f5). That is
sortable with or without shallow clones.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb b/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb
index 6258bc5134..f45c68949f 100644
--- a/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb
+++ b/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb
@@ -6,9 +6,8 @@  LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=ebb5c50ab7cab4baeffba14977030c07 \
 
 DEPENDS = "udev libusb1 libplist libimobiledevice-glue"
 
-inherit autotools pkgconfig gitpkgv systemd useradd
+inherit autotools pkgconfig systemd useradd
 
-PKGV = "${GITPKGVTAG}"
 PV = "1.1.2+git"
 
 SRCREV = "01c94c77f59404924f1c46d99c4e5e0c7817281b"