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>
This commit is contained in:
parent
b2c6e1ead7
commit
8132ac5f6c
|
@ -1,11 +1,12 @@
|
|||
require procps.inc
|
||||
|
||||
PR = "r5"
|
||||
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"
|
||||
${base_bindir}/kill ${base_sbindir}/sysctl ${base_bindir}/ps \
|
||||
${bindir}/pgrep ${bindir}/pwdx ${bindir}/watch"
|
||||
ALTERNATIVE_PRIORITY = "110"
|
||||
|
||||
SRC_URI += "file://procmodule.patch \
|
||||
|
|
Loading…
Reference in New Issue