All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <saul.wold@intel.com>
To: poky@yoctoproject.org
Subject: Re: [PATCH 3/5] bash: use /bin/bash as default shell when bash	is included
Date: Thu, 27 Jan 2011 17:34:32 -0800	[thread overview]
Message-ID: <4D421D28.9070501@intel.com> (raw)
In-Reply-To: <b7da2f$q8ksno@fmsmga001.fm.intel.com>

On 01/27/2011 03:39 AM, poky-bounces@yoctoproject.org wrote:
> From: Kevin Tian<kevin.tian@intel.com>
>
> though bash is included in LSB profile, it doesn't use update-alternative
> to take effect and thus it's still busybox behaving as /bin/sh.
>
> Signed-off-by: Kevin Tian<kevin.tian@intel.com>
> ---
>   meta/recipes-extended/bash/bash.inc       |    5 +++++
>   meta/recipes-extended/bash/bash_3.2.48.bb |    2 +-
>   meta/recipes-extended/bash/bash_4.1.bb    |    2 +-
>   3 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
> index aa8cac8..a87b87f 100644
> --- a/meta/recipes-extended/bash/bash.inc
> +++ b/meta/recipes-extended/bash/bash.inc
> @@ -17,6 +17,11 @@ sbindir = "/sbin"
>   EXTRA_OECONF = "--enable-job-control"
>   export CC_FOR_BUILD = "${BUILD_CC}"
>
> +ALTERNATIVE_NAME = "sh"
> +ALTERNATIVE_PATH = "${base_bindir}/bash"
> +ALTERNATIVE_LINK = "${base_bindir}/sh"
> +ALTERNATIVE_PRIORITY = "100"
> +
>   do_configure () {
>   	gnu-configize
>   	oe_runconf
> diff --git a/meta/recipes-extended/bash/bash_3.2.48.bb b/meta/recipes-extended/bash/bash_3.2.48.bb
> index ee563d6..e5a3e36 100644
> --- a/meta/recipes-extended/bash/bash_3.2.48.bb
> +++ b/meta/recipes-extended/bash/bash_3.2.48.bb
> @@ -6,7 +6,7 @@ LICENSE = "GPLv2+"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=fd5d9bcabd8ed5a54a01ce8d183d592a"
>   DEPENDS = "ncurses"
>
> -PR = "r6"
> +PR = "r7"
>
>   SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
>              http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-049;apply=yes;striplevel=0 \
> diff --git a/meta/recipes-extended/bash/bash_4.1.bb b/meta/recipes-extended/bash/bash_4.1.bb
> index 6a558ed..cea4042 100644
> --- a/meta/recipes-extended/bash/bash_4.1.bb
> +++ b/meta/recipes-extended/bash/bash_4.1.bb
> @@ -1,6 +1,6 @@
>   require bash.inc
>
> -PR = "r0"
> +PR = "r1"
>
>   SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \
>              http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-001;apply=yes;striplevel=0;name=patch001 \
Pulled into Master

Thanks
	Sau!


           reply	other threads:[~2011-01-28  1:34 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <b7da2f$q8ksno@fmsmga001.fm.intel.com>]

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=4D421D28.9070501@intel.com \
    --to=saul.wold@intel.com \
    --cc=poky@yoctoproject.org \
    /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.