[oe-commits] Richard Purdie : bash: Update to new update-alternatives syntax
git at git.openembedded.org
git at git.openembedded.org
Wed May 30 16:33:36 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 6176dbd6ee770c0c2849f53b213866b61ac29ff1
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6176dbd6ee770c0c2849f53b213866b61ac29ff1
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Wed May 30 12:55:31 2012 +0100
bash: Update to new update-alternatives syntax
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/bash/bash.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 876be1e..ff9b0ce 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"
More information about the Openembedded-commits
mailing list