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 <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yi Zhao 2025-07-01 23:47:31 +08:00 committed by Richard Purdie
parent 45f527d299
commit bb59fbb5e6

View File

@ -12,7 +12,7 @@ DEPENDS = "ncurses virtual/libintl"
LICENSE = "GPL-2.0-only" LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" 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" SRCREV = "9091d6dbcce3d8fb87adf9249a2eb346d25a562c"