gpe-bootsplash:
authorMatthias Hentges <oe@hentges.net>
Sun, 12 Feb 2006 19:01:04 +0000 (19:01 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 12 Feb 2006 19:01:04 +0000 (19:01 +0000)
- 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

packages/gpe-bootsplash/files/tty2-message.patch [new file with mode: 0644]
packages/gpe-bootsplash/gpe-bootsplash_1.15.bb

diff --git a/packages/gpe-bootsplash/files/tty2-message.patch b/packages/gpe-bootsplash/files/tty2-message.patch
new file mode 100644 (file)
index 0000000..0c3b2d8
--- /dev/null
@@ -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')
+ ;;
index 1e25bfd..fd17846 100644 (file)
@@ -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"