summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash/bash.inc
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2011-01-26 19:37:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-28 16:49:12 +0000
commitce9d6ebf34d7972021529c6270426c1760b967e5 (patch)
tree54b6417d219bd79eadc0719809405615645d4c8e /meta/recipes-extended/bash/bash.inc
parentabc25cb88570bf54d3bb518b5083402894cca061 (diff)
downloadpoky-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/recipes-extended/bash/bash.inc')
-rw-r--r--meta/recipes-extended/bash/bash.inc5
1 files changed, 5 insertions, 0 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"
17EXTRA_OECONF = "--enable-job-control" 17EXTRA_OECONF = "--enable-job-control"
18export CC_FOR_BUILD = "${BUILD_CC}" 18export CC_FOR_BUILD = "${BUILD_CC}"
19 19
20ALTERNATIVE_NAME = "sh"
21ALTERNATIVE_PATH = "${base_bindir}/bash"
22ALTERNATIVE_LINK = "${base_bindir}/sh"
23ALTERNATIVE_PRIORITY = "100"
24
20do_configure () { 25do_configure () {
21 gnu-configize 26 gnu-configize
22 oe_runconf 27 oe_runconf