summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2017-03-10 15:03:05 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-17 15:37:05 +0000
commit468f9c9899016c46635c9f39eef3483303a5be81 (patch)
tree4b1059eeb0c2ea0e0f081b273dc05ce37f000ef3
parent83dfb69b37c2465d09eb9544d487f1674b06f9c0 (diff)
downloadopenembedded-core-468f9c9899016c46635c9f39eef3483303a5be81.tar.gz
openembedded-core-468f9c9899016c46635c9f39eef3483303a5be81.tar.bz2
openembedded-core-468f9c9899016c46635c9f39eef3483303a5be81.zip
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. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-extended/procps/procps_3.3.12.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/procps/procps_3.3.12.bb b/meta/recipes-extended/procps/procps_3.3.12.bb
index 1f793b9cac..adabd75761 100644
--- a/meta/recipes-extended/procps/procps_3.3.12.bb
+++ b/meta/recipes-extended/procps/procps_3.3.12.bb
@@ -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}"