From ce9d6ebf34d7972021529c6270426c1760b967e5 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Wed, 26 Jan 2011 19:37:10 +0800 Subject: 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 --- meta/recipes-extended/bash/bash.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-extended/bash/bash.inc') 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" 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 -- cgit v1.2.3-54-g00ecf