summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-11-16 16:54:35 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-11-16 16:54:35 +0000
commit634e2b7f84c19f313cf07e27ec68be0ebe80fab0 (patch)
tree25f006aefb317fbc545e17306a2c5dcbcaac3c38 /packages
parent863dee02bab26c60c86337e3da2849cbc0985276 (diff)
parent0ef4b5c5b4ae1de2eaff7120bc332e31110a777c (diff)
merge of '6fc0c96303daaec8c718677c1ab7b0cc440ab4be'
and 'f2599a639a2bce74fd29be0a3fe3b529e9d37493'
Diffstat (limited to 'packages')
-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}