Patchwork bzip2: Update to new update-alternatives syntax

login
register
mail settings
Submitter Richard Purdie
Date May 30, 2012, 11:54 a.m.
Message ID <1338378895.20169.127.camel@ted>
Download mbox | patch
Permalink /patch/28929/
State Accepted
Commit 75cd7692c97b07e05f304893995231e2d3390f8f
Headers show

Comments

Richard Purdie - May 30, 2012, 11:54 a.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

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}/