aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/matchbox-session
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 16:51:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:18:40 +0100
commit46ce038d6c06eac7f34023b47bc80ef4ce61fb67 (patch)
treeaf9c0526b77a895f3d442747a9ba7452a1535907 /meta/recipes-graphics/matchbox-session
parenta19cd0521c181962605250d83327ebeeb7c46366 (diff)
downloadopenembedded-core-46ce038d6c06eac7f34023b47bc80ef4ce61fb67.tar.gz
openembedded-core-46ce038d6c06eac7f34023b47bc80ef4ce61fb67.tar.bz2
openembedded-core-46ce038d6c06eac7f34023b47bc80ef4ce61fb67.zip
matchbox-session: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/matchbox-session')
-rw-r--r--meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb b/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb
index 3faa16c099..f4be279947 100644
--- a/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb
+++ b/meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb
@@ -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() {