diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-12-31 17:04:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:14:34 +0000 |
commit | 91d9b9c593ddade24a198baa8261ab6dd111ec72 (patch) | |
tree | 5f5d9238eecccdfc226aa851b31cc92f0a961454 | |
parent | ecad149634f83b3ec1530392d3cb38edc90e00b9 (diff) | |
download | poky-91d9b9c593ddade24a198baa8261ab6dd111ec72.tar.gz |
procps: raise update-alternatives priority
This fixes a problem with the uptime utility:
root@beagleboneA3-0088:/var/lib/cloud9# busybox uptime
16:00:17 up 2 days, 6:46, load average: 0.14, 0.04, 0.05
root@beagleboneA3-0088:/var/lib/cloud9# uptime.procps
16:00:22 up 2 days, 6:46, 1 user, load average: 0.14, 0.05, 0.06
root@beagleboneA3-0088:/var/lib/cloud9# uptime.coreutils
16:00pm up 4382 days 15:58, 1 user, load average: 0.13, 0.05, 0.05
root@beagleboneA3-0088:/var/lib/cloud9# ls /usr/bin/uptime -la
lrwxrwxrwx 1 root root 16 Dec 26 08:56 /usr/bin/uptime -> uptime.coreutils
(From OE-Core rev: f1b2d49d0cc6f1b75f0870941d8c7ce742378d4d)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/procps/procps_3.2.8.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb index d989955f62..6a41ccdef9 100644 --- a/meta/recipes-extended/procps/procps_3.2.8.bb +++ b/meta/recipes-extended/procps/procps_3.2.8.bb | |||
@@ -1,12 +1,12 @@ | |||
1 | require procps.inc | 1 | require procps.inc |
2 | 2 | ||
3 | PR = "r3" | 3 | PR = "r4" |
4 | 4 | ||
5 | inherit update-alternatives | 5 | inherit update-alternatives |
6 | 6 | ||
7 | ALTERNATIVE_LINKS = "${bindir}/top ${bindir}/uptime ${bindir}/free ${bindir}/pkill ${bindir}/pmap \ | 7 | ALTERNATIVE_LINKS = "${bindir}/top ${bindir}/uptime ${bindir}/free ${bindir}/pkill ${bindir}/pmap \ |
8 | ${base_bindir}/kill ${base_sbindir}/sysctl ${base_bindir}/ps" | 8 | ${base_bindir}/kill ${base_sbindir}/sysctl ${base_bindir}/ps" |
9 | ALTERNATIVE_PRIORITY = "90" | 9 | ALTERNATIVE_PRIORITY = "110" |
10 | 10 | ||
11 | SRC_URI += "file://procmodule.patch \ | 11 | SRC_URI += "file://procmodule.patch \ |
12 | file://psmodule.patch \ | 12 | file://psmodule.patch \ |