[oe-commits] Shiqun Lin : bash: clean host path in bashbug

git at git.openembedded.org git at git.openembedded.org
Tue Nov 25 13:03:52 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: a745b4b790fe2550fafa731c02f33dd39a9d8651
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a745b4b790fe2550fafa731c02f33dd39a9d8651

Author: Shiqun Lin <Shiqun.Lin at windriver.com>
Date:   Tue Oct 21 03:53:15 2014 -0400

bash: clean host path in bashbug

* /usr/bin/bashbug

Signed-off-by: Shiqun Lin <Shiqun.Lin at windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>

---

 meta/recipes-extended/bash/bash.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 2fe0c6b..d35d25c 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



More information about the Openembedded-commits mailing list