From 45f527d2996b792a6cbb9e1ffb6c8aab5fa09dc9 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Tue, 1 Jul 2025 23:47:30 +0800 Subject: [PATCH] procps: 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:~# ps -V ps from procps-ng UNKNOWN root@intel-x86-64:~# sysctl -V sysctl from procps-ng UNKNOWN After the fix: root@intel-x86-64:~# ps -V ps from procps-ng 4.0.5 root@intel-x86-64:~# sysctl -V sysctl from procps-ng 4.0.5 (From OE-Core rev: 02f944088430c7cc023366d7cb5f92d7dcb62dfb) Signed-off-by: Yi Zhao Signed-off-by: Richard Purdie --- meta/recipes-extended/procps/procps_4.0.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/procps/procps_4.0.5.bb b/meta/recipes-extended/procps/procps_4.0.5.bb index 2b41be3930..d568cc831e 100644 --- a/meta/recipes-extended/procps/procps_4.0.5.bb +++ b/meta/recipes-extended/procps/procps_4.0.5.bb @@ -12,7 +12,7 @@ DEPENDS = "ncurses" inherit autotools gettext pkgconfig update-alternatives -SRC_URI = "git://gitlab.com/procps-ng/procps.git;protocol=https;branch=master \ +SRC_URI = "git://gitlab.com/procps-ng/procps.git;protocol=https;branch=master;tag=v${PV} \ file://sysctl.conf \ " SRCREV = "f46b2f7929cdfe2913ed0a7f585b09d6adbf994e"