]> code.ossystems Code Review - openembedded-core.git/commitdiff
mktemp: raise the priority to avoid conflicting with coreutils
authorChen Qi <Qi.Chen@windriver.com>
Thu, 29 Oct 2015 09:22:42 +0000 (17:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Nov 2015 07:56:48 +0000 (07:56 +0000)
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.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/mktemp/mktemp_1.7.bb

index fe238eea37a30d249f0da88f9bb2f268bd98be37..d22668ca6ac0aa98ce5ca9db4ad9de1b9738af47 100644 (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"