summaryrefslogtreecommitdiff
path: root/meta/packages/matchbox-sato
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-04-09 10:31:36 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-04-09 10:31:36 +0000
commita42d7d3f663a20c4887481636eba0c84fd032e7a (patch)
tree98fdc8efc1c5bd8ae488506fbba9bfce13d7bd8f /meta/packages/matchbox-sato
parentf0c6b03d5cd47370fd560e3fa737c4cbcace7de7 (diff)
downloadopenembedded-core-a42d7d3f663a20c4887481636eba0c84fd032e7a.tar.gz
openembedded-core-a42d7d3f663a20c4887481636eba0c84fd032e7a.tar.bz2
openembedded-core-a42d7d3f663a20c4887481636eba0c84fd032e7a.zip
matchbox-(wm/sato): moved creation of x-session-manager to matchbox-sato
matchbox-sato contain session start scripts which are used as x-session-manager so it should register it with update-alternatives instead of matchbox-wm git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4214 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/matchbox-sato')
-rw-r--r--meta/packages/matchbox-sato/matchbox-sato_0.1.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb
index e2f4aeb825..b8d6d7151a 100644
--- a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb
+++ b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb
@@ -3,11 +3,18 @@ LICENSE = "GPL"
SECTION = "x11"
RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts"
RCONFLICTS = "matchbox-common"
-PR = "r20"
+PR = "r21"
SRC_URI = "file://etc file://matchbox-session"
S = ${WORKDIR}
+inherit update-alternatives
+
+ALTERNATIVE_NAME = "x-session-manager"
+ALTERNATIVE_LINK = "${bindir}/x-session-manager"
+ALTERNATIVE_PATH = "${bindir}/matchbox-session"
+ALTERNATIVE_PRIORITY = "10"
+
do_install() {
install -d ${D}/${bindir}
install -m 0755 ${S}/matchbox-session ${D}/${bindir}