diff options
author | Shiqun Lin <Shiqun.Lin@windriver.com> | 2014-10-21 03:53:15 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-25 13:03:28 +0000 |
commit | 692950eae890fbe81e433770b2040a6f04d88a0b (patch) | |
tree | 0ba6632b10f7ee1e80381d831d68b723fedd7cf3 /meta/recipes-extended/bash/bash.inc | |
parent | 3fc5cfe3dd4e8cf966990671c834df6562525179 (diff) | |
download | poky-692950eae890fbe81e433770b2040a6f04d88a0b.tar.gz |
bash: clean host path in bashbug
* /usr/bin/bashbug
(From OE-Core rev: a745b4b790fe2550fafa731c02f33dd39a9d8651)
Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash/bash.inc')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 4 |
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 () { | |||
38 | mv ${D}${bindir}/bash ${D}${base_bindir} | 38 | mv ${D}${bindir}/bash ${D}${base_bindir} |
39 | fi | 39 | fi |
40 | } | 40 | } |
41 | do_install_append_class-target () { | ||
42 | # Clean host path in bashbug | ||
43 | sed -i -e "s,${STAGING_DIR_TARGET},,g" ${D}${bindir}/bashbug | ||
44 | } | ||
41 | 45 | ||
42 | do_install_ptest () { | 46 | do_install_ptest () { |
43 | make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test | 47 | make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test |