procps: fix ALTERNATIVE_PRIORITY to avoid conflict

Previously, 'pidof' utility has two providers, sysvinit and procps, and
both have the same priority 200. Fix procps to lower the priority of its
'pidof' to 150 to avoid conflict.

(From OE-Core rev: 468f9c9899016c46635c9f39eef3483303a5be81)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chen Qi 2017-03-10 15:03:05 +08:00 committed by Richard Purdie
parent 8c0b432d2e
commit 3e1b79a762
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ base_bindir_progs += "kill pidof ps watch"
base_sbindir_progs += "sysctl"
ALTERNATIVE_PRIORITY = "200"
ALTERNATIVE_PRIORITY[pidof] = "150"
ALTERNATIVE_${PN} = "${bindir_progs} ${base_bindir_progs} ${base_sbindir_progs}"