Files
poky/meta/recipes-extended/procps/procps_3.2.8.bb
Andreas Oberritter 8132ac5f6c procps: use update-alternatives for pwdx, pgrep and watch
* pwdx, pgrep and watch may be provided by busybox.
* Use update-alternatives to avoid conflict.

(From OE-Core rev: 68dc2a3fa30c03a196d650de34d0c657a7b85454)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-23 17:47:41 +00:00

35 lines
1.1 KiB
BlitzBasic

require procps.inc
PR = "r6"
inherit update-alternatives
ALTERNATIVE_LINKS = "${bindir}/top ${bindir}/uptime ${bindir}/free ${bindir}/pkill ${bindir}/pmap \
${base_bindir}/kill ${base_sbindir}/sysctl ${base_bindir}/ps \
${bindir}/pgrep ${bindir}/pwdx ${bindir}/watch"
ALTERNATIVE_PRIORITY = "110"
SRC_URI += "file://procmodule.patch \
file://psmodule.patch \
file://linux-limits.patch \
file://sysctl.conf \
file://procps-3.2.8+gmake-3.82.patch \
"
SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0"
SRC_URI[sha256sum] = "11ed68d8a4433b91cd833deb714a3aa849c02aea738c42e6b4557982419c1535"
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
}
CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"