]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
psmisc: fix runtime version when using git shallow tarball
authorYi Zhao <yi.zhao@eng.windriver.com>
Tue, 1 Jul 2025 15:47:31 +0000 (23:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Jul 2025 09:38:22 +0000 (10:38 +0100)
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

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/psmisc/psmisc_23.7.bb

index fff1f218f4d3fe42bd247bb49e06af3ecf46492b..44f8530977cdead3aa898d7a78f1756d86c0b36d 100644 (file)
@@ -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"