mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user