From: Robert Yang Date: Sat, 10 Oct 2015 07:04:29 +0000 (-0700) Subject: coreutils: fix for native and nativesdk X-Git-Tag: 2015-10~114 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e789603c9470ad22f935ab993a13f9ee7c9630eb;p=openembedded-core.git coreutils: fix for native and nativesdk 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 Signed-off-by: Ross Burton --- diff --git a/meta/recipes-core/coreutils/coreutils_8.24.bb b/meta/recipes-core/coreutils/coreutils_8.24.bb index 034ebcda95..f042346241 100644 --- a/meta/recipes-core/coreutils/coreutils_8.24.bb +++ b/meta/recipes-core/coreutils/coreutils_8.24.bb @@ -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}