From 8ca93f51381df8f5c2ae6dfc5150b911950d8668 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 27 Oct 2026 22:50:13 -0700 Subject: [PATCH] tvheadend: Stop using gitpkgv PKGV = "4.3+git${GITPKGV}" counts the commits up to SRCREV, which is always 1 with shallow clones, so successive SRCREVs only compare by hash and gitpkgv warns: WARNING: tvheadend: 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 (4.3+git0+cc60283368). The AUTOINC starts below the commit count used so far, so bump PE to keep the upgrade path from existing packages. Signed-off-by: Khem Raj --- meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb b/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb index 6a7f6c3f5d..4752e30e13 100644 --- a/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb +++ b/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb @@ -1,7 +1,7 @@ SUMMARY = "Tvheadend: TV streaming server and recorder" HOMEPAGE = "https://tvheadend.org/" -inherit autotools-brokensep gettext gitpkgv pkgconfig +inherit autotools-brokensep gettext pkgconfig DEPENDS = "avahi cmake-native dvb-apps libdvbcsa libpcre2 openssl uriparser zlib" @@ -14,7 +14,10 @@ SRC_URI = "git://github.com/tvheadend/tvheadend.git;branch=master;protocol=https SRCREV = "cc602833684953fc3e6f1c89d4f08f6dfef179e3" PV = "4.3+git" -PKGV = "4.3+git${GITPKGV}" +# PKGV used to be 4.3+git+ from gitpkgv; the PR +# server AUTOINC that replaces the count starts lower, so bump PE to keep +# the upgrade path. +PE = "1" EXTRA_OECONF += "--arch=${TARGET_ARCH} \