]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
procps: fix ALTERNATIVE_PRIORITY to avoid conflict
authorChen Qi <Qi.Chen@windriver.com>
Fri, 10 Mar 2017 07:03:05 +0000 (15:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Mar 2017 15:37:05 +0000 (15:37 +0000)
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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/procps/procps_3.3.12.bb

index 1f793b9cac06de945d97fd5c76f771a11793792b..adabd757617299a53cb873ec6307c5c54311f7c4 100644 (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}"