[OE-core] [PATCH 1/1] bash: fix interpreter of ptest script

2016-08-24 Thread kai.kang
From: Kai Kang 

The interpreter of bash ptest script tests/getopts5.sub is
/local/bin/bash which is not suitable for oe. Use /bin/bash instead.

Signed-off-by: Kai Kang 
---
 meta/recipes-extended/bash/bash.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/bash/bash.inc 
b/meta/recipes-extended/bash/bash.inc
index 1d08526..d299a4a 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -54,6 +54,8 @@ do_install_ptest () {
cp ${B}/Makefile ${D}${PTEST_PATH}
 sed -i -e 's/^Makefile/_Makefile/' -e 
"s,--sysroot=${STAGING_DIR_TARGET},,g" \
-e "s,${S},,g" -e "s,${B},,g" -e "s,${STAGING_DIR_NATIVE},,g" 
${D}${PTEST_PATH}/Makefile
+
+   sed -i -e 's:/local\(/bin/bash\):\1:' 
${D}${PTEST_PATH}/tests/getopts5.sub
 }
 
 pkg_postinst_${PN} () {
-- 
2.9.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] bash: fix interpreter of ptest script

2016-08-24 Thread Burton, Ross
On 24 August 2016 at 10:26,  wrote:

> The interpreter of bash ptest script tests/getopts5.sub is
> /local/bin/bash which is not suitable for oe. Use /bin/bash instead.
>

Presumably this test is executed under bash explicitly, so is this really
worth fixing?

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] bash: fix interpreter of ptest script

2016-08-24 Thread Kang Kai

On 2016年08月25日 04:17, Burton, Ross wrote:


On 24 August 2016 at 10:26, > wrote:


The interpreter of bash ptest script tests/getopts5.sub is
/local/bin/bash which is not suitable for oe. Use /bin/bash instead.


Presumably this test is executed under bash explicitly, so is this 
really worth fixing?


I sent the patch to bash maillist and it is not accepted too.
So please ignore it. Thanks.


--Kai



Ross



--
Regards,
Neil | Kai Kang

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core