Allow psplash to be disabled via kernel cmd line

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1033 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Matthew Allum 2006-12-14 11:49:37 +00:00
parent d557f58dcb
commit da317b2442
2 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,14 @@
#!/bin/sh
for x in $(cat /proc/cmdline); do
case $x in
psplash=false)
echo "Boot splashscreen disabled"
exit 0;
;;
esac
done
export TMPDIR=/mnt/.psplash
mount tmpfs -t tmpfs $TMPDIR -o,size=40k

View File

@ -2,6 +2,7 @@ DESCRIPTION = "Userspace framebuffer boot logo based on usplash."
SECTION = "base"
LICENSE = "GPL"
PV = "0.0+svn${SRCDATE}"
PR = "r1"
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \
file://psplash-init"