diff options
| author | Yi Zhao <yi.zhao@eng.windriver.com> | 2025-07-01 23:47:30 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-03 10:40:16 +0100 |
| commit | 45f527d2996b792a6cbb9e1ffb6c8aab5fa09dc9 (patch) | |
| tree | 9bb0c269b0ca627e56a3990b5a0216d389fe93cb | |
| parent | 57f1eb2e6657d601d94768d04f92a5ab66144458 (diff) | |
| download | poky-45f527d2996b792a6cbb9e1ffb6c8aab5fa09dc9.tar.gz | |
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 <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/procps/procps_4.0.5.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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" | |||
| 12 | 12 | ||
| 13 | inherit autotools gettext pkgconfig update-alternatives | 13 | inherit autotools gettext pkgconfig update-alternatives |
| 14 | 14 | ||
| 15 | SRC_URI = "git://gitlab.com/procps-ng/procps.git;protocol=https;branch=master \ | 15 | SRC_URI = "git://gitlab.com/procps-ng/procps.git;protocol=https;branch=master;tag=v${PV} \ |
| 16 | file://sysctl.conf \ | 16 | file://sysctl.conf \ |
| 17 | " | 17 | " |
| 18 | SRCREV = "f46b2f7929cdfe2913ed0a7f585b09d6adbf994e" | 18 | SRCREV = "f46b2f7929cdfe2913ed0a7f585b09d6adbf994e" |
