diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-30 12:55:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-30 17:24:54 +0100 |
commit | 6176dbd6ee770c0c2849f53b213866b61ac29ff1 (patch) | |
tree | 6cc31961697d233274751167daee47d68c10e0e4 /meta/recipes-extended/bash/bash.inc | |
parent | 75cd7692c97b07e05f304893995231e2d3390f8f (diff) | |
download | openembedded-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/recipes-extended/bash/bash.inc')
-rw-r--r-- | 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 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" |