summaryrefslogtreecommitdiffstats
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
parentd557f58dcb0da72f558ac23343a6ce2ce86d0d65 (diff)
downloadpoky-da317b2442e90e1152bb521bead18f0a5eee803e.tar.gz
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
-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 @@
1#!/bin/sh 1#!/bin/sh
2 2
3for x in $(cat /proc/cmdline); do
4 case $x in
5 psplash=false)
6 echo "Boot splashscreen disabled"
7 exit 0;
8 ;;
9 esac
10done
11
3export TMPDIR=/mnt/.psplash 12export TMPDIR=/mnt/.psplash
4mount tmpfs -t tmpfs $TMPDIR -o,size=40k 13mount tmpfs -t tmpfs $TMPDIR -o,size=40k
5 14
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."
2SECTION = "base" 2SECTION = "base"
3LICENSE = "GPL" 3LICENSE = "GPL"
4PV = "0.0+svn${SRCDATE}" 4PV = "0.0+svn${SRCDATE}"
5PR = "r1"
5 6
6SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ 7SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \
7 file://psplash-init" 8 file://psplash-init"