]> code.ossystems Code Review - openembedded-core.git/commitdiff
coreutils: fix for native and nativesdk
authorRobert Yang <liezhi.yang@windriver.com>
Sat, 10 Oct 2015 07:04:29 +0000 (00:04 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Oct 2015 16:47:18 +0000 (17:47 +0100)
The do_install_append is used for moving/renaming for ALTERNATIVE, but
it breaks native and nativesdk, for example there is no ln, but
ln.coreutils, that makes coreutils-native or nativesdk-coreutils doesn't
work. This patch fixes the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/coreutils/coreutils_8.24.bb

index 034ebcda95109773f9f5916029781fa0923dad7f..f042346241dac6a457b131be8709b613242a54c5 100644 (file)
@@ -62,7 +62,7 @@ do_compile_prepend () {
        mkdir -p ${B}/src
 }
 
-do_install_append() {
+do_install_append_class-target() {
        for i in df mktemp base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done
 
        install -d ${D}${base_bindir}