Hey All,

Maybe a silly proposal, but why not make a host-bash ? For gstreamer I also have a host-flex, because the flex on Centos 5.4 is to old. Of course that might be a bit of chicken-egg problem when bash is needed to build bash :-)

- Erwin


Carsten Schlote wrote:
-----Ursprüngliche Nachricht-----
Von: ptxdist-boun...@pengutronix.de [mailto:ptxdist-
boun...@pengutronix.de] Im Auftrag von Frederik Sdun
Gesendet: Freitag, 8. Januar 2010 08:35
An: ptxdist@pengutronix.de
Betreff: Re: [ptxdist] [PATCH 26/48] Fix issue with Ubuntu 'sh' and
.postinst

You have to link /bin/sh to /bin/bash instead of dash. Ubuntu uses dash
instead of bash. It seems that there's some bashizm in the debian
scripts and many people do not realize that they use a bash extension
unless they're on a POSIX conform shell and use /bin/sh instead of
/bin/bash. That's a common problem.

My Ubuntu system works fine with the current setup using dash and I don't want 
to
mod my system.

So the other solution is to modify the .postinst scripts to work with a plain POSIX sh shell. So local installs of ipkg file on the host would work correctly
on Ubuntu with /bin/sh - not just ipkg installs on the target itself. There 
/bin/sh is linked to
/bin/bash indeed.

Changing the bang line was some much easier way without changing the whole 
script or moding my
host system.

Carsten

--
ptxdist mailing list
ptxdist@pengutronix.de


--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to