Skip to contentSkip to conversation

mktemp: raise the priority to avoid conflicting with coreutils

PATCH New Chen Qi 1 participant 2 messages Oct 29, 2015

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover mktemp: raise the priority to avoid conflicting with coreutils

The following changes since commit f787b688f2884ce3fa888b4041030538c7d2bf55:

oeqa/utils/decorators: fix missing keyword arguments on decorators (2015-10-27 07:22:22 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib ChenQi/mktemp-coreutils
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/mktemp-coreutils

Chen Qi (1):
mktemp: raise the priority to avoid conflicting with coreutils

 meta/recipes-extended/mktemp/mktemp_1.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 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.

---
 meta/recipes-extended/mktemp/mktemp_1.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/mktemp/mktemp_1.7.bb +1 -1
index fe238ee..d22668c 100644
@@ -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"
Signature · 1 line
1.9.1