Skip to contentSkip to conversation

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

DISCUSSION Robert P. J. Day 6 participants 6 messages May 12, 2010 – May 17, 2010

lore
Share & tools
lore
#0 lore raw

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.

rday

Signature · 8 lines
========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
#1 lore raw
Quoted 6 lines · Robert P. J. Day

 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.

See http://wiki.openembedded.net/index.php/OEandYourDistro#Ubuntu.

its as simple as sudo dpkg-reconfigure dash

Signature · 3 lines
Dmitry Ivanov
KDE PIM developer (pim.kde.org)
partimage-ng developer (partimage-ng.net)
#2 lore raw
In reply to Robert P. J. Day
Quoted 5 lines · ----- "Robert P. J. Day

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?

Elegant: Sudo dpkg-reconfigure dash. Choose no.

thanks.

Quoted 21 lines

rday

Signature · 16 lines
========================================================================
Robert P. J. Day                               Waterloo, Ontario,
CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                         
http://crashcourse.ca
Twitter:                                      
http://twitter.com/rpjday
========================================================================

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_________________________
John Connolly
Software Developer
Bug Labs
598 Broadway, 4th Floor
New York, NY 10012-3206
646.723.9258
jconnolly @ irc.freenode.net/#buglabs

#3 lore raw
In reply to Robert P. J. Day

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 5 lines · Robert P. J. Day

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.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL67EMMkyGM64RGpERAshNAKC81SjnJa9FeVPQk/RyZgcn/QVbkgCeIVKX pfjzfYmp6O+G2C/gzggpldE=
=/ZW/
-----END PGP SIGNATURE-----

#4 lore raw
Quoted 9 lines · Koen Kooi
Quoted 4 lines · Robert P. J. Day

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

#5 lore raw
In reply to Koen Kooi
Quoted 5 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line · Robert P. J. Day
Quoted 8 lines
Quoted 4 lines

  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.

I wonder how debian/ubuntu build them. I assume they should be using dash as default
shell as well.