[OE-core] [PATCH 1/1] mktemp: raise the priority to avoid conflicting with coreutils

Chen Qi Qi.Chen at windriver.com
Thu Oct 29 09:22:42 UTC 2015


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 at windriver.com>
---
 meta/recipes-extended/mktemp/mktemp_1.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/mktemp/mktemp_1.7.bb b/meta/recipes-extended/mktemp/mktemp_1.7.bb
index fe238ee..d22668c 100644
--- a/meta/recipes-extended/mktemp/mktemp_1.7.bb
+++ b/meta/recipes-extended/mktemp/mktemp_1.7.bb
@@ -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"
-- 
1.9.1




More information about the Openembedded-core mailing list