[OE-core] [PATCH] Allow use of dash as /bin/sh

Paul Menzel paulepanter at users.sourceforge.net
Tue Nov 8 22:01:44 UTC 2011


Dear Richard,


Am Dienstag, den 08.11.2011, 21:33 +0000 schrieb Richard Purdie:
> We've had the check for dash as /bin/sh for a long time. Dash has been
> around long enough now that most major issues have been identified and
> fixed from  build perspective.
> 
> This patch fixes a bashism in the openjade-native recipe. It also
> adjusts libtool so that the header at the script is used and not the
> value of $SHELL. This is because many Makefiles change $SHELL so dash
> can get used to execute what is otherwise configured as a bash shell
> script. Since we don't need to execute scipts this way on any system I'm

sc*r*ipts

> aware of us building upon, the simplest fix is just to remove $SHELL.
> 
> With these two changes the dash check can be removed and we can allow
> builds with dash as /bin/sh

Could also have been separate changes. But does not matter much.

> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>

> [Note: I know I need to add the description of the libtool change above
> into the prefix.patch]
> ---

[…]


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111108/af52f797/attachment-0002.sig>


More information about the Openembedded-core mailing list