diff options
author | Matthew Allum <mallum@openedhand.com> | 2006-12-14 11:49:37 +0000 |
---|---|---|
committer | Matthew Allum <mallum@openedhand.com> | 2006-12-14 11:49:37 +0000 |
commit | da317b2442e90e1152bb521bead18f0a5eee803e (patch) | |
tree | a09b69e015b6063cb12a50802423aefb15c3bb83 /meta/packages | |
parent | d557f58dcb0da72f558ac23343a6ce2ce86d0d65 (diff) | |
download | poky-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
Diffstat (limited to 'meta/packages')
-rwxr-xr-x | meta/packages/psplash/files/psplash-init | 9 | ||||
-rw-r--r-- | meta/packages/psplash/psplash_svn.bb | 1 |
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 | ||
3 | for x in $(cat /proc/cmdline); do | ||
4 | case $x in | ||
5 | psplash=false) | ||
6 | echo "Boot splashscreen disabled" | ||
7 | exit 0; | ||
8 | ;; | ||
9 | esac | ||
10 | done | ||
11 | |||
3 | export TMPDIR=/mnt/.psplash | 12 | export TMPDIR=/mnt/.psplash |
4 | mount tmpfs -t tmpfs $TMPDIR -o,size=40k | 13 | mount 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." | |||
2 | SECTION = "base" | 2 | SECTION = "base" |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | PV = "0.0+svn${SRCDATE}" | 4 | PV = "0.0+svn${SRCDATE}" |
5 | PR = "r1" | ||
5 | 6 | ||
6 | SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ | 7 | SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ |
7 | file://psplash-init" | 8 | file://psplash-init" |