summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/x11-common/x11-common/etc/X11/Xinit16
-rw-r--r--meta/packages/x11-common/x11-common/etc/X11/Xserver6
-rw-r--r--meta/packages/x11-common/x11-common/etc/X11/Xsession6
-rw-r--r--meta/packages/x11-common/x11-common_0.1.bb2
4 files changed, 3 insertions, 27 deletions
diff --git a/meta/packages/x11-common/x11-common/etc/X11/Xinit b/meta/packages/x11-common/x11-common/etc/X11/Xinit
deleted file mode 100644
index f566ffe5be..0000000000
--- a/meta/packages/x11-common/x11-common/etc/X11/Xinit
+++ /dev/null
@@ -1,16 +0,0 @@
1#!/bin/sh
2#
3
4export USER=root
5export HOME=/home/root
6if [ ! -d $HOME ] && [ -d /root ]; then
7 HOME=/root
8fi
9export XAPPLRESDIR=/usr/X11R6/lib/app-defaults
10export XFILESEARCHPATH=./%N%S%C.ad:/usr/X11R6/lib/X11/%L/%T/%N%S%C:/usr/X11R6/lib/X11/%l/%T/%N%S%C:/usr/X11R6/lib/X11/%T/%N%S%C:./%N%S.ad:/usr/X11R6/lib/X11/%L/%T/%N%S:/usr/X11R6/lib/X11/%l/%T/%N%S:/usr/X11R6/lib/X11/%T/%N%S:/usr/local/lib/X11/app-defaults/%N%S%C.ad
11
12export PATH=$PATH:/usr/X11R6/bin
13
14SYSSESSIONDIR=/etc/X11/Xinit.d
15
16exec run-parts $SYSSESSIONDIR
diff --git a/meta/packages/x11-common/x11-common/etc/X11/Xserver b/meta/packages/x11-common/x11-common/etc/X11/Xserver
index 689d522d09..9a0986ad61 100644
--- a/meta/packages/x11-common/x11-common/etc/X11/Xserver
+++ b/meta/packages/x11-common/x11-common/etc/X11/Xserver
@@ -1,8 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2# 2#
3 3
4. /etc/formfactor/config
5
6# note xinit needs full server path 4# note xinit needs full server path
7XSERVER=/usr/bin/Xipaq 5XSERVER=/usr/bin/Xipaq
8if [ -f /usr/bin/Xfbdev ]; then 6if [ -f /usr/bin/Xfbdev ]; then
@@ -28,12 +26,12 @@ module_id() {
28 awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo 26 awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
29} 27}
30 28
31export USER=root
32
33ARGS=" -br -pn" 29ARGS=" -br -pn"
34 30
35if [ "$XSERVER" != "/usr/bin/Xorg" ]; then 31if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
36 32
33 . /etc/formfactor/config
34
37 # use ucb 1x00 touchscreen if present 35 # use ucb 1x00 touchscreen if present
38 if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/touchscreen/ucb1x00 ]; then 36 if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/touchscreen/ucb1x00 ]; then
39 ARGS="$ARGS -mouse /dev/touchscreen/ucb1x00" 37 ARGS="$ARGS -mouse /dev/touchscreen/ucb1x00"
diff --git a/meta/packages/x11-common/x11-common/etc/X11/Xsession b/meta/packages/x11-common/x11-common/etc/X11/Xsession
index 8f3e5edd7d..6441596b04 100644
--- a/meta/packages/x11-common/x11-common/etc/X11/Xsession
+++ b/meta/packages/x11-common/x11-common/etc/X11/Xsession
@@ -1,11 +1,5 @@
1#!/bin/sh 1#!/bin/sh
2 2
3HOME_VOLATILE=/home/$USER/ramdisk
4export HOME_VOLATILE
5
6HOME=/home/$USER
7export HOME
8
9if [ -x /usr/bin/dbus-launch ]; then 3if [ -x /usr/bin/dbus-launch ]; then
10 # As this is the X session script, always start a new DBus session. 4 # As this is the X session script, always start a new DBus session.
11 eval `dbus-launch --sh-syntax --exit-with-session` 5 eval `dbus-launch --sh-syntax --exit-with-session`
diff --git a/meta/packages/x11-common/x11-common_0.1.bb b/meta/packages/x11-common/x11-common_0.1.bb
index 74e620bd16..75d9836198 100644
--- a/meta/packages/x11-common/x11-common_0.1.bb
+++ b/meta/packages/x11-common/x11-common_0.1.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts"
2LICENSE = "GPL" 2LICENSE = "GPL"
3SECTION = "x11" 3SECTION = "x11"
4RDEPENDS_${PN} = "xmodmap xdpyinfo xtscal xinit formfactor" 4RDEPENDS_${PN} = "xmodmap xdpyinfo xtscal xinit formfactor"
5PR = "r36" 5PR = "r37"
6 6
7SRC_URI = "file://etc" 7SRC_URI = "file://etc"
8S = ${WORKDIR} 8S = ${WORKDIR}