summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-10-10 00:04:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-19 17:47:18 +0100
commite789603c9470ad22f935ab993a13f9ee7c9630eb (patch)
tree7d3f57a91ac02257438f21b43943be143bda822b
parentef16c20e6936218ff96c599cce0200c34f5017dd (diff)
downloadopenembedded-core-e789603c9470ad22f935ab993a13f9ee7c9630eb.tar.gz
openembedded-core-e789603c9470ad22f935ab993a13f9ee7c9630eb.tar.bz2
openembedded-core-e789603c9470ad22f935ab993a13f9ee7c9630eb.zip
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 <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-core/coreutils/coreutils_8.24.bb2
1 files changed, 1 insertions, 1 deletions
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}