[oe-commits] Richard Purdie : bzip2: Update to new update-alternatives syntax

git at git.openembedded.org git at git.openembedded.org
Wed May 30 16:33:35 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 75cd7692c97b07e05f304893995231e2d3390f8f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=75cd7692c97b07e05f304893995231e2d3390f8f

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed May 30 12:54:55 2012 +0100

bzip2: Update to new update-alternatives syntax

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/bzip2/bzip2_1.0.6.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
index fa8310e..43b462a 100644
--- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
+++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
@@ -22,7 +22,7 @@ CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=
 inherit autotools update-alternatives
 
 ALTERNATIVE_PRIORITY = "100"
-ALTERNATIVE_LINKS = "${bindir}/bunzip2 ${bindir}/bzcat"
+ALTERNATIVE_${PN} = "bunzip2 bzcat"
 
 do_configure_prepend () {
 	cp ${WORKDIR}/configure.ac ${S}/





More information about the Openembedded-commits mailing list