From 8bf214c9b0fdaa68134bb81c39f854ed51a4de56 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Fri, 16 Nov 2007 16:09:44 +0000 Subject: openmoko-session2.bb : install out window manager script using update-alternatives. Fixes no openmoko-today2 problem --- packages/openmoko2/openmoko-session2.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'packages/openmoko2') diff --git a/packages/openmoko2/openmoko-session2.bb b/packages/openmoko2/openmoko-session2.bb index 66ce5da82a..a8768534b1 100644 --- a/packages/openmoko2/openmoko-session2.bb +++ b/packages/openmoko2/openmoko-session2.bb @@ -4,7 +4,7 @@ SECTION = "x11" RDEPENDS = "matchbox-applet-startup-monitor matchbox-panel-2" RDEPENDS += "openmoko-common2 openmoko-today2 openmoko-dialer2" RCONFLICTS_${PN} = "openmoko-session matchbox-common" -PR = "r61" +PR = "r62" SRC_URI = "\ file://etc \ @@ -12,6 +12,13 @@ SRC_URI = "\ " S = ${WORKDIR} +inherit update-alternatives + +ALTERNATIVE_NAME = "x-window-manager" +ALTERNATIVE_LINK = "${bindir}/x-window-manager" +ALTERNATIVE_PATH = "${bindir}/matchbox-session" +ALTERNATIVE_PRIORITY = "11" + do_install() { install -d ${D}${bindir} install -m 0655 ${WORKDIR}/matchbox-session ${D}${bindir} -- cgit v1.2.3