]> code.ossystems Code Review - openembedded-core.git/commitdiff
console-tools: cleanup update-alternatives deprecated code
authorSaul Wold <sgw@linux.intel.com>
Thu, 26 Jul 2012 23:06:24 +0000 (16:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Aug 2012 13:18:38 +0000 (14:18 +0100)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/console-tools/console-tools_0.3.2.bb

index 6027d4abd1ca9a8d61094506fb179701d935bb1d..8bcc90a8688c8df9d28af316d6bec3f10319459f 100644 (file)
@@ -3,7 +3,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING.kbd;md5=9b2d91511d3d80d4d20ac6e6b0137fe9"
 SUMMARY = "Allows you to set-up and manipulate the Linux console."
 DESCRIPTION = "Provides tools that enable the set-up and manipulation of the linux console and console-font files."
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/lct/console-tools-${PV}.tar.gz \
            file://codepage.patch \
@@ -35,6 +35,6 @@ inherit autotools gettext update-alternatives
 ALTERNATIVE_PRIORITY = "100"
 
 bindir_progs = "chvt deallocvt fgconsole openvt"
-ALTERNATIVE_LINKS = "${bindir}/${@' ${bindir}/'.join((d.getVar('bindir_progs', True)).split())}"
+ALTERNATIVE_${PN} = "${bindir_progs}"
 
 RDEPENDS_${PN} = "bash"