aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 15:55:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:16:38 +0100
commit6e344e2564456a366682a423d4f061f5d93b2137 (patch)
treed62ab2d3585a39065ea6a69e71ed54688c69f9b4 /meta
parent11c169a9b289b0412e512c37d380a99fd1630df5 (diff)
downloadopenembedded-core-6e344e2564456a366682a423d4f061f5d93b2137.tar.gz
openembedded-core-6e344e2564456a366682a423d4f061f5d93b2137.tar.bz2
openembedded-core-6e344e2564456a366682a423d4f061f5d93b2137.zip
mini-x-session: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb b/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb
index bc9368af10..6f7efb2560 100644
--- a/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb
+++ b/meta/recipes-graphics/mini-x-session/mini-x-session_0.1.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Mini X session files for poky"
HOMEPAGE = "http://www.yoctoproject.org"
BUGTRACKER = "http://bugzilla.pokylinux.org"
-PR = "r2"
+PR = "r3"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://mini-x-session;endline=5;md5=b6430bffbcf05f9760e72938826b7487"
@@ -15,9 +15,8 @@ S = "${WORKDIR}"
inherit update-alternatives
-ALTERNATIVE_NAME = "x-session-manager"
-ALTERNATIVE_LINK = "${bindir}/x-session-manager"
-ALTERNATIVE_PATH = "${bindir}/mini-x-session"
+ALTERNATIVE_${PN} = "x-session-manager"
+ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/mini-x-session"
ALTERNATIVE_PRIORITY = "50"
do_install() {