- replace xinit app to an script that start Xorg faster
This commit is contained in:
Stephan Raue 2009-09-28 14:36:04 +02:00
parent 7ef988b19d
commit dfb2ab2e88
5 changed files with 30 additions and 23 deletions

View File

@ -1,17 +0,0 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--enable-shared \
make
$STRIP $1

View File

@ -5,8 +5,4 @@
PKG_DIR=`find $PACKAGES -type d -name $1`
mkdir -p $INSTALL/usr/bin
cp -PR $PKG_BUILD/$1 $INSTALL/usr/bin
mkdir -p $INSTALL/usr/lib/X11/xinit/
cp -PR $PKG_DIR/scripts/xinitrc $INSTALL/usr/lib/X11/xinit/
cp -PR $PKG_DIR/scripts/xserverrc $INSTALL/usr/lib/X11/xinit/
cp -PR $PKG_DIR/scripts/$1 $INSTALL/usr/bin

View File

@ -0,0 +1,28 @@
#!/bin/sh
. /etc/sysconfig
# 'vt02' starts X on virtual terminal 2.
# '-logverbose 6' enables useful troubleshooting output in /var/log/Xorg.0.0.log.
args="-s 0 -br -allowMouseOpenFail "
if /usr/bin/test "${MOOVIDA_DEBUG}" = "yes" ; then
args="${args} -logverbose 6 -verbose 0"
fi
mkdir -p /var/cache/xkb
exec /usr/bin/X :0.0 vt$TTY ${args} > /dev/null 2>&1 &
while true; do
if [ -f /tmp/.X0-lock ]; then
for file in /usr/etc/xinitrc.d/* ; do
. ${file}
done
break
fi
done

View File

@ -1 +0,0 @@
http://xorg.freedesktop.org/releases/individual/app/xinit-1.1.1.tar.bz2

View File

@ -1,3 +1,4 @@
#!/bin/sh
################################################################################
# windowmanager
#