summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-12-31 17:04:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-03 12:14:34 +0000
commit91d9b9c593ddade24a198baa8261ab6dd111ec72 (patch)
tree5f5d9238eecccdfc226aa851b31cc92f0a961454
parentecad149634f83b3ec1530392d3cb38edc90e00b9 (diff)
downloadpoky-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.bb4
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 @@
1require procps.inc 1require procps.inc
2 2
3PR = "r3" 3PR = "r4"
4 4
5inherit update-alternatives 5inherit update-alternatives
6 6
7ALTERNATIVE_LINKS = "${bindir}/top ${bindir}/uptime ${bindir}/free ${bindir}/pkill ${bindir}/pmap \ 7ALTERNATIVE_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"
9ALTERNATIVE_PRIORITY = "90" 9ALTERNATIVE_PRIORITY = "110"
10 10
11SRC_URI += "file://procmodule.patch \ 11SRC_URI += "file://procmodule.patch \
12 file://psmodule.patch \ 12 file://psmodule.patch \