summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-30 12:55:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-30 17:24:54 +0100
commit6176dbd6ee770c0c2849f53b213866b61ac29ff1 (patch)
tree6cc31961697d233274751167daee47d68c10e0e4 /meta
parent75cd7692c97b07e05f304893995231e2d3390f8f (diff)
downloadopenembedded-core-6176dbd6ee770c0c2849f53b213866b61ac29ff1.tar.gz
openembedded-core-6176dbd6ee770c0c2849f53b213866b61ac29ff1.tar.bz2
openembedded-core-6176dbd6ee770c0c2849f53b213866b61ac29ff1.zip
bash: Update to new update-alternatives syntax
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/bash/bash.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 876be1e42d..ff9b0ce999 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -17,9 +17,9 @@ 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_${PN} = "sh"
+ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
+ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash"
ALTERNATIVE_PRIORITY = "100"
export AUTOHEADER = "true"