All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Paul Kovitz <paul.kovitz@welchallyn.com>
Cc: meta-arago@arago-project.org
Subject: Re: newbie question: what is the best way to make sure bitbake uses bash instead of dash?
Date: Thu, 24 Jan 2013 13:15:34 -0500	[thread overview]
Message-ID: <20130124181534.GA23977@denix.org> (raw)
In-Reply-To: <CA+edY+Svcn3OkAAO+U_cz8+NZBA9TxbR3f532G2nPNYQHXMm1A@mail.gmail.com>

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


      reply	other threads:[~2013-01-24 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130124181534.GA23977@denix.org \
    --to=denys@ti.com \
    --cc=meta-arago@arago-project.org \
    --cc=paul.kovitz@welchallyn.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.