summaryrefslogtreecommitdiff
path: root/meta/packages/psplash
diff options
context:
space:
mode:
authorMatthew Allum <mallum@openedhand.com>2006-12-14 11:49:37 +0000
committerMatthew Allum <mallum@openedhand.com>2006-12-14 11:49:37 +0000
commitda317b2442e90e1152bb521bead18f0a5eee803e (patch)
treea09b69e015b6063cb12a50802423aefb15c3bb83 /meta/packages/psplash
parentd557f58dcb0da72f558ac23343a6ce2ce86d0d65 (diff)
downloadopenembedded-core-da317b2442e90e1152bb521bead18f0a5eee803e.tar.gz
openembedded-core-da317b2442e90e1152bb521bead18f0a5eee803e.tar.bz2
openembedded-core-da317b2442e90e1152bb521bead18f0a5eee803e.zip
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
Diffstat (limited to 'meta/packages/psplash')
-rwxr-xr-xmeta/packages/psplash/files/psplash-init9
-rw-r--r--meta/packages/psplash/psplash_svn.bb1
2 files changed, 10 insertions, 0 deletions
diff --git a/meta/packages/psplash/files/psplash-init b/meta/packages/psplash/files/psplash-init
index b736cc6375..a966638074 100755
--- a/meta/packages/psplash/files/psplash-init
+++ b/meta/packages/psplash/files/psplash-init
@@ -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
diff --git a/meta/packages/psplash/psplash_svn.bb b/meta/packages/psplash/psplash_svn.bb
index 2c21c99d7d..5ac42f9ec7 100644
--- a/meta/packages/psplash/psplash_svn.bb
+++ b/meta/packages/psplash/psplash_svn.bb
@@ -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"