mktemp: raise the priority to avoid conflicting with coreutils

If mktemp and coreutils have the same priority for the 'mktemp' command,
/bin/mktemp might point to different destinations depending on which package
is installed first.

Raise the priority to 200 in mktemp recipe to avoid such problem.

(From OE-Core rev: 1c0cfffee21e99a7356c9046c86628bc0acf654c)

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 2015-10-29 17:22:42 +08:00 committed by Richard Purdie
parent b06eacdacf
commit d60c5ff659

View File

@ -27,7 +27,7 @@ do_install_append () {
ALTERNATIVE_${PN} = "mktemp"
ALTERNATIVE_LINK_NAME[mktemp] = "${base_bindir}/mktemp"
ALTERNATIVE_PRIORITY = "100"
ALTERNATIVE_PRIORITY = "200"
ALTERNATIVE_${PN}-doc = "mktemp.1"
ALTERNATIVE_PRIORITY_${PN}-doc = "300"