2009-08-19 16:10:08 +00:00
|
|
|
require procps.inc
|
|
|
|
|
2012-03-14 20:15:21 +00:00
|
|
|
PR = "r5"
|
2009-08-19 16:10:08 +00:00
|
|
|
|
2011-09-21 08:19:42 +00:00
|
|
|
inherit update-alternatives
|
2009-08-19 16:10:08 +00:00
|
|
|
|
2011-05-10 11:52:41 +00:00
|
|
|
ALTERNATIVE_LINKS = "${bindir}/top ${bindir}/uptime ${bindir}/free ${bindir}/pkill ${bindir}/pmap \
|
2010-09-27 04:42:55 +00:00
|
|
|
${base_bindir}/kill ${base_sbindir}/sysctl ${base_bindir}/ps"
|
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>
2011-12-31 16:04:56 +00:00
|
|
|
ALTERNATIVE_PRIORITY = "110"
|
2010-09-27 04:42:55 +00:00
|
|
|
|
2010-11-10 07:57:07 +00:00
|
|
|
SRC_URI += "file://procmodule.patch \
|
|
|
|
file://psmodule.patch \
|
2011-09-21 08:19:42 +00:00
|
|
|
file://linux-limits.patch \
|
|
|
|
file://sysctl.conf \
|
|
|
|
file://procps-3.2.8+gmake-3.82.patch \
|
|
|
|
"
|
2009-08-19 16:10:08 +00:00
|
|
|
|
2010-12-08 04:06:29 +00:00
|
|
|
SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0"
|
|
|
|
SRC_URI[sha256sum] = "11ed68d8a4433b91cd833deb714a3aa849c02aea738c42e6b4557982419c1535"
|
|
|
|
|
2009-08-19 16:10:08 +00:00
|
|
|
EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
|
|
|
|
CPPFLAGS=-I${STAGING_INCDIR} \
|
|
|
|
LDFLAGS="${LDFLAGS}" \
|
|
|
|
CURSES=-lncurses \
|
|
|
|
install='install -D' \
|
|
|
|
ldconfig=echo"
|
|
|
|
|
|
|
|
do_install_append () {
|
|
|
|
install -d ${D}${sysconfdir}
|
|
|
|
install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/sysctl.conf
|
|
|
|
}
|
2011-09-21 08:19:42 +00:00
|
|
|
|
|
|
|
CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
|