Skip to contentSkip to conversation

bzip2: Update to new update-alternatives syntax

PATCH New Richard Purdie 1 participant 1 message May 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bzip2: Update to new update-alternatives syntax

---

meta/recipes-extended/bzip2/bzip2_1.0.6.bb +1 -1
index fa8310e..43b462a 100644
@@ -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}/