[oe-commits] Saul Wold : console-tools: cleanup update-alternatives deprecated code

git at git.openembedded.org git at git.openembedded.org
Wed Aug 15 13:30:57 UTC 2012


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

Author: Saul Wold <sgw at linux.intel.com>
Date:   Thu Jul 26 16:06:24 2012 -0700

console-tools: cleanup update-alternatives deprecated code

Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../console-tools/console-tools_0.3.2.bb           |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/console-tools/console-tools_0.3.2.bb b/meta/recipes-core/console-tools/console-tools_0.3.2.bb
index 6027d4a..8bcc90a 100644
--- a/meta/recipes-core/console-tools/console-tools_0.3.2.bb
+++ b/meta/recipes-core/console-tools/console-tools_0.3.2.bb
@@ -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"





More information about the Openembedded-commits mailing list