ppcrcd/trunk: add.pkgs conf.dir/usr/lib/ppcrcd/fbsplash conf.dir/usr/lib/ppcrcd/rc.live
sparky
cvs at pld-linux.org
Sat Mar 11 21:19:02 CET 2006
Author: sparky
Date: Sat Mar 11 21:18:58 2006
New Revision: 7145
Added:
ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/fbsplash (contents, props changed)
Modified:
ppcrcd/trunk/add.pkgs
ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live
Log:
- fbsplash !
Modified: ppcrcd/trunk/add.pkgs
==============================================================================
--- ppcrcd/trunk/add.pkgs (original)
+++ ppcrcd/trunk/add.pkgs Sat Mar 11 21:18:58 2006
@@ -221,6 +221,13 @@
# +static -imode +curl
$(R)/poldek $(R)/poldek-libs: $(P)/poldek
+I += splashutils
+REV-splashutils = PPCRCD
+$(R)/splashutils: $(P)/splashutils
+
+I += splashutils-theme-darkblue
+$(R)/splashutils-theme-darkblue: $(P)/splashutils-theme-darkblue
+
### SPECIAL ###
out/rpm/SPECS/pldconf.spec: out/touch/builder_prepared pldconf.patch
Added: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/fbsplash
==============================================================================
--- (empty file)
+++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/fbsplash Sat Mar 11 21:18:58 2006
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+. /usr/lib/ppcrcd/functions
+
+[ -x /sbin/splash_util ] || exit
+
+cmdopt nosplash && exit
+
+verbose 1 -G "Trying to start fbsplash"
+
+/sbin/splash_util --vc=0 -m v -t darkblue -c setcfg >/dev/null 2>&1
+/sbin/splash_util --vc=0 -m v -t darkblue -c setpic 2>&1 | grep -q "No 8bpp" \
+ && die 1 "fbsplash needs high-color frame buffer"
+/sbin/splash_util --vc=0 -c on >/dev/null 2>&1
+
+for TTY in 2 3 4 5 6 7 8; do
+ echo -n > /dev/tty$TTY;
+done
+
+for VC in 1 2 3 4 5 6 7; do
+ /sbin/splash_util --vc=$VC -m v -t darkblue -c setcfg >/dev/null 2>&1
+ /sbin/splash_util --vc=$VC -c on >/dev/null 2>&1
+done
Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live
==============================================================================
--- ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live (original)
+++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/rc.live Sat Mar 11 21:18:58 2006
@@ -24,6 +24,7 @@
done
fi
+[ -x /usr/lib/ppcrcd/fbsplash ] && /usr/lib/ppcrcd/fbsplash
DEBUG=0
if cmdopt debug; then
More information about the pld-cvs-commit
mailing list