[oe] on ubuntu 10.04, how to reset /bin/sh to refer to bash?

Marc Olzheim zlo at zlo.nu
Mon May 17 12:25:29 UTC 2010


On Thu, May 13, 2010 at 09:58:04AM +0200, Koen Kooi wrote:
> On 12-05-10 18:58, Robert P. J. Day wrote:
> >   my first time setting up to build OE on ubuntu 10.04, and trying to
> > "bitbake fetch" complains that it's a bad idea for /bin/sh to refer to
> > dash.  fair enough, so since /bin/sh -> dash, do i just reset the
> > symlink manually?  or is there something more elegant?  thanks.
> 
> And for the record: It's not OE (anymore) that requires bash, it's the
> software we build. E.g. GTK+'s libtool has bashisms. And there are a lot
> more.

Exactly. So depending on what you want to build, you can get away with
dash as /bin/sh fine. We've been using the patch in
http://patchwork.openembedded.org/patch/914/ successfully for some time
now, but we do not need any GTK+ stuff on our images.

Marc




More information about the Openembedded-devel mailing list