diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-03-10 15:03:05 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-17 16:53:05 +0000 |
commit | 3e1b79a76284fb66332c9f7cc009d9b72187fda8 (patch) | |
tree | b06f3f73db1d1ddf6d9b5aeddab5f06489f9e2a9 /meta/recipes-extended | |
parent | 8c0b432d2e8f1845e739e0401101dd72e8fc7a98 (diff) | |
download | poky-3e1b79a76284fb66332c9f7cc009d9b72187fda8.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/procps/procps_3.3.12.bb | 1 |
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" | |||
49 | base_sbindir_progs += "sysctl" | 49 | base_sbindir_progs += "sysctl" |
50 | 50 | ||
51 | ALTERNATIVE_PRIORITY = "200" | 51 | ALTERNATIVE_PRIORITY = "200" |
52 | ALTERNATIVE_PRIORITY[pidof] = "150" | ||
52 | 53 | ||
53 | ALTERNATIVE_${PN} = "${bindir_progs} ${base_bindir_progs} ${base_sbindir_progs}" | 54 | ALTERNATIVE_${PN} = "${bindir_progs} ${base_bindir_progs} ${base_sbindir_progs}" |
54 | 55 | ||