All of lore.kernel.org
 help / color / mirror / Atom feed
* newbie question: what is the best way to make sure bitbake uses bash instead of dash?
@ 2013-01-24 18:08 Paul Kovitz
  2013-01-24 18:15 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Kovitz @ 2013-01-24 18:08 UTC (permalink / raw)
  To: meta-arago

[-- Attachment #1: Type: text/plain, Size: 420 bytes --]

The do_install step will fail to install the toolchain libraries unless you
have bash as the default shell. Making the default system shell bash hurts
boot time according to some data I have seen. Right now I used sudo
dpkg-reconfigure dash to make the default bash. Is there a better way? If
there is no better way, should the oe-layersetup.sh script do it for you if
$SHELL is not /bin/bash?

-- 
Paul Kovitz

[-- Attachment #2: Type: text/html, Size: 470 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: newbie question: what is the best way to make sure bitbake uses bash instead of dash?
  2013-01-24 18:08 newbie question: what is the best way to make sure bitbake uses bash instead of dash? Paul Kovitz
@ 2013-01-24 18:15 ` Denys Dmytriyenko
  0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2013-01-24 18:15 UTC (permalink / raw)
  To: Paul Kovitz; +Cc: meta-arago

On Thu, Jan 24, 2013 at 10:08:14AM -0800, Paul Kovitz wrote:
> The do_install step will fail to install the toolchain libraries unless you
> have bash as the default shell. Making the default system shell bash hurts
> boot time according to some data I have seen. Right now I used sudo
> dpkg-reconfigure dash to make the default bash. Is there a better way?

That's the correct way.

> If there is no better way, should the oe-layersetup.sh script do it for you 
> if $SHELL is not /bin/bash?

oe-layersetup.sh is distro-agnostic and should stay that way. Switching off 
dash is strictly Ubuntu-specific and requires root privileges, not something 
we'd want in oe-layersetup.sh...

There's a recent effort to get rid of bashisms in OE-Core and our layers 
(actually, if you chekc logs, you'll see some changes already). But for 
meta-arago to get full benefits of that, it needs to be upgraded from denzil 
to danny, which should happen soon.

-- 
Denys


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-24 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-24 18:08 newbie question: what is the best way to make sure bitbake uses bash instead of dash? Paul Kovitz
2013-01-24 18:15 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.