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.

(From OE-Core rev: e789603c9470ad22f935ab993a13f9ee7c9630eb)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2015-10-10 00:04:29 -07:00 committed by Richard Purdie
parent b1a7405688
commit f9d29ab298
1 changed files with 1 additions and 1 deletions

View 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}