summaryrefslogtreecommitdiff
path: root/packages/gpe-bootsplash
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-02-12 19:01:04 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-12 19:01:04 +0000
commit8f7d24559543565f314077459f5031c0d34d9220 (patch)
tree57bd3c4f079d83809d25ee5643947a19a9e77a44 /packages/gpe-bootsplash
parentd610bd848e19c84e3de9a38414a0cc9815903a3c (diff)
gpe-bootsplash:
- Display a message informing the user that he can chvt 1 to see the boot-messages - Do a chvt 1 if gpe-bootsplash errors out
Diffstat (limited to 'packages/gpe-bootsplash')
-rw-r--r--packages/gpe-bootsplash/files/tty2-message.patch19
-rw-r--r--packages/gpe-bootsplash/gpe-bootsplash_1.15.bb6
2 files changed, 23 insertions, 2 deletions
diff --git a/packages/gpe-bootsplash/files/tty2-message.patch b/packages/gpe-bootsplash/files/tty2-message.patch
new file mode 100644
index 0000000000..0c3b2d859b
--- /dev/null
+++ b/packages/gpe-bootsplash/files/tty2-message.patch
@@ -0,0 +1,19 @@
+--- gpe-bootsplash-1.15/gpe-bootsplash.init.orig 2006-02-12 19:36:10.600838563 +0100
++++ gpe-bootsplash-1.15/gpe-bootsplash.init 2006-02-12 19:36:13.957218949 +0100
+@@ -31,8 +31,15 @@
+ ;;
+ esac
+ echo "0" > /proc/sys/kernel/printk
++
++ # Clear tty2
++ echo -e "\033c" > /dev/tty2
+ chvt 2
+- /usr/bin/gpe-bootsplash $ARGS
++
++ echo -e "\nLoading bootsplash..." > /dev/tty2
++ echo "Use Fn-LeftArrow to see the boot messages." > /dev/tty2
++
++ /usr/bin/gpe-bootsplash $ARGS || chvt 1
+ ;;
+ 'stop')
+ ;;
diff --git a/packages/gpe-bootsplash/gpe-bootsplash_1.15.bb b/packages/gpe-bootsplash/gpe-bootsplash_1.15.bb
index 1e25bfd1ab..fd17846103 100644
--- a/packages/gpe-bootsplash/gpe-bootsplash_1.15.bb
+++ b/packages/gpe-bootsplash/gpe-bootsplash_1.15.bb
@@ -5,9 +5,11 @@ MAINTAINER = "Phil Blundell <pb@handhelds.org>"
SECTION = "gpe"
PRIORITY = "optional"
LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
-SRC_URI += "file://splash-p.svg file://splash-l.svg"
+SRC_URI += "file://splash-p.svg \
+ file://splash-l.svg \
+ file://tty2-message.patch;patch=1"
FILES_${PN} += "${datadir}/gpe"