From bb59fbb5e69ddfafdc956e4bf6892fbe0f0a6bb6 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Tue, 1 Jul 2025 23:47:31 +0800 Subject: [PATCH] psmisc: fix runtime version when using git shallow tarball Add tag to SRC_URI to fix runtime version when using git shallow tarball. Before the fix: root@intel-x86-64:~# pslog -V pslog (PSmisc) UNKNOWN After the fix: root@intel-x86-64:~# pslog -V pslog (PSmisc) 23.7 (From OE-Core rev: f149a9541789286299c1afb84f61df0484d0f72e) Signed-off-by: Yi Zhao Signed-off-by: Richard Purdie --- meta/recipes-extended/psmisc/psmisc_23.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/psmisc/psmisc_23.7.bb b/meta/recipes-extended/psmisc/psmisc_23.7.bb index fff1f218f4..44f8530977 100644 --- a/meta/recipes-extended/psmisc/psmisc_23.7.bb +++ b/meta/recipes-extended/psmisc/psmisc_23.7.bb @@ -12,7 +12,7 @@ DEPENDS = "ncurses virtual/libintl" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" -SRC_URI = "git://gitlab.com/psmisc/psmisc.git;protocol=https;branch=master \ +SRC_URI = "git://gitlab.com/psmisc/psmisc.git;protocol=https;branch=master;tag=v${PV} \ " SRCREV = "9091d6dbcce3d8fb87adf9249a2eb346d25a562c"