summaryrefslogtreecommitdiff
path: root/packages/openmoko2
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2007-11-16 16:09:44 +0000
committerGraeme Gregory <dp@xora.org.uk>2007-11-16 16:09:44 +0000
commit8bf214c9b0fdaa68134bb81c39f854ed51a4de56 (patch)
treea3778b3a2c646ac72454a921414e3ef9d3a59eba /packages/openmoko2
parent6eb50a468d6bba9421c55a8ac102d58b56804b5b (diff)
openmoko-session2.bb : install out window manager script using update-alternatives. Fixes no openmoko-today2 problem
Diffstat (limited to 'packages/openmoko2')
-rw-r--r--packages/openmoko2/openmoko-session2.bb9
1 files changed, 8 insertions, 1 deletions
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}