From 8f7d24559543565f314077459f5031c0d34d9220 Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Sun, 12 Feb 2006 19:01:04 +0000 Subject: 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 --- packages/gpe-bootsplash/files/tty2-message.patch | 19 +++++++++++++++++++ packages/gpe-bootsplash/gpe-bootsplash_1.15.bb | 6 ++++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 packages/gpe-bootsplash/files/tty2-message.patch 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 " 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" -- cgit v1.2.3