From 8f32595f6b8ed885a8291b1eb5cd671ece4b7d58 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 27 May 2009 11:44:42 +0100 Subject: x11-common: Remove unused Xinit file, remove hardcoded user assumptions Signed-off-by: Richard Purdie --- meta/packages/x11-common/x11-common/etc/X11/Xinit | 16 ---------------- meta/packages/x11-common/x11-common/etc/X11/Xserver | 6 ++---- meta/packages/x11-common/x11-common/etc/X11/Xsession | 6 ------ meta/packages/x11-common/x11-common_0.1.bb | 2 +- 4 files changed, 3 insertions(+), 27 deletions(-) delete mode 100644 meta/packages/x11-common/x11-common/etc/X11/Xinit (limited to 'meta') 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 @@ -#!/bin/sh -# - -export USER=root -export HOME=/home/root -if [ ! -d $HOME ] && [ -d /root ]; then - HOME=/root -fi -export XAPPLRESDIR=/usr/X11R6/lib/app-defaults -export 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 - -export PATH=$PATH:/usr/X11R6/bin - -SYSSESSIONDIR=/etc/X11/Xinit.d - -exec 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 @@ #!/bin/sh # -. /etc/formfactor/config - # note xinit needs full server path XSERVER=/usr/bin/Xipaq if [ -f /usr/bin/Xfbdev ]; then @@ -28,12 +26,12 @@ module_id() { awk 'BEGIN { FS=": " } /Hardware/ { print $2 } '