summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/bash/bash.inc
diff options
context:
space:
mode:
authorShiqun Lin <Shiqun.Lin@windriver.com>2014-10-21 03:53:15 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-25 12:58:18 +0000
commita745b4b790fe2550fafa731c02f33dd39a9d8651 (patch)
treec04894879a980c8db3d34cdab8aca963aa0ded34 /meta/recipes-extended/bash/bash.inc
parent4bd50c5a967af2b8f0fe77b8f9c100169e4fc531 (diff)
downloadopenembedded-core-a745b4b790fe2550fafa731c02f33dd39a9d8651.tar.gz
openembedded-core-a745b4b790fe2550fafa731c02f33dd39a9d8651.tar.bz2
openembedded-core-a745b4b790fe2550fafa731c02f33dd39a9d8651.zip
bash: clean host path in bashbug
* /usr/bin/bashbug Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Diffstat (limited to 'meta/recipes-extended/bash/bash.inc')
-rw-r--r--meta/recipes-extended/bash/bash.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 2fe0c6b574..d35d25cc92 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -38,6 +38,10 @@ do_install_append () {
mv ${D}${bindir}/bash ${D}${base_bindir}
fi
}
+do_install_append_class-target () {
+ # Clean host path in bashbug
+ sed -i -e "s,${STAGING_DIR_TARGET},,g" ${D}${bindir}/bashbug
+}
do_install_ptest () {
make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test