Skip to contentSkip to conversation

procps: fix ALTERNATIVE_PRIORITY to avoid conflict

PATCH New Chen Qi 1 participant 2 messages Mar 10, 2017

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover procps: fix ALTERNATIVE_PRIORITY to avoid conflict

The following changes since commit d454dc2fc17711d3efe6dbe5aca3c734f0ed158b:

gcc-runtime: Fix QA issue (2017-03-08 11:52:57 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/procps-pidof
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/procps-pidof

Chen Qi (1):
procps: fix ALTERNATIVE_PRIORITY to avoid conflict

 meta/recipes-extended/procps/procps_3.3.12.bb | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 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.

---
 meta/recipes-extended/procps/procps_3.3.12.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-extended/procps/procps_3.3.12.bb +1 -0
index 1f793b9..adabd75 100644
@@ -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}"
 
Signature · 1 line
1.9.1