diff options
author | Kevin Tian <kevin.tian@intel.com> | 2011-01-26 19:37:10 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-28 16:49:12 +0000 |
commit | ce9d6ebf34d7972021529c6270426c1760b967e5 (patch) | |
tree | 54b6417d219bd79eadc0719809405615645d4c8e /meta | |
parent | abc25cb88570bf54d3bb518b5083402894cca061 (diff) | |
download | poky-ce9d6ebf34d7972021529c6270426c1760b967e5.tar.gz |
bash: use /bin/bash as default shell when bash is included
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 5 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash_3.2.48.bb | 2 | ||||
-rw-r--r-- | 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 aa8cac8222..a87b87ff4b 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
@@ -17,6 +17,11 @@ sbindir = "/sbin" | |||
17 | EXTRA_OECONF = "--enable-job-control" | 17 | EXTRA_OECONF = "--enable-job-control" |
18 | export CC_FOR_BUILD = "${BUILD_CC}" | 18 | export CC_FOR_BUILD = "${BUILD_CC}" |
19 | 19 | ||
20 | ALTERNATIVE_NAME = "sh" | ||
21 | ALTERNATIVE_PATH = "${base_bindir}/bash" | ||
22 | ALTERNATIVE_LINK = "${base_bindir}/sh" | ||
23 | ALTERNATIVE_PRIORITY = "100" | ||
24 | |||
20 | do_configure () { | 25 | do_configure () { |
21 | gnu-configize | 26 | gnu-configize |
22 | oe_runconf | 27 | 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 ee563d626a..e5a3e3643d 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+" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=fd5d9bcabd8ed5a54a01ce8d183d592a" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=fd5d9bcabd8ed5a54a01ce8d183d592a" |
7 | DEPENDS = "ncurses" | 7 | DEPENDS = "ncurses" |
8 | 8 | ||
9 | PR = "r6" | 9 | PR = "r7" |
10 | 10 | ||
11 | SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ | 11 | SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ |
12 | http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-049;apply=yes;striplevel=0 \ | 12 | 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 6a558ed2cd..cea40420cb 100644 --- a/meta/recipes-extended/bash/bash_4.1.bb +++ b/meta/recipes-extended/bash/bash_4.1.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require bash.inc | 1 | require bash.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "r1" |
4 | 4 | ||
5 | SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \ | 5 | SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \ |
6 | http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-001;apply=yes;striplevel=0;name=patch001 \ | 6 | http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-001;apply=yes;striplevel=0;name=patch001 \ |