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

index 3faa16c099ab2e01d59f83c20c9b6ae9a4616c3f..f4be2799471e9b60a909b20d510be8f92cde11bc 100644 (file)
@@ -11,13 +11,12 @@ RCONFLICTS_${PN} = "matchbox-common"
 SRC_URI = "file://matchbox-session"
 S = "${WORKDIR}"
 
-PR = "r2"
+PR = "r3"
 
 inherit update-alternatives
 
-ALTERNATIVE_NAME = "x-session-manager"
-ALTERNATIVE_LINK = "${bindir}/x-session-manager"
-ALTERNATIVE_PATH = "${bindir}/matchbox-session"
+ALTERNATIVE_${PN} = "x-session-manager"
+ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/matchbox-session"
 ALTERNATIVE_PRIORITY = "10"
 
 do_install() {