From 6176dbd6ee770c0c2849f53b213866b61ac29ff1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 30 May 2012 12:55:31 +0100 Subject: bash: Update to new update-alternatives syntax Signed-off-by: Richard Purdie --- meta/recipes-extended/bash/bash.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (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 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" -- cgit 1.2.3-korg