]> git.openpandora.org Git - openembedded.git/commitdiff
initscripts: Get rid of the vtmaster stuff, bump PR.
authorTom Rini <trini@embeddedalley.com>
Mon, 1 Jun 2009 17:06:18 +0000 (13:06 -0400)
committerTom Rini <trini@embeddedalley.com>
Mon, 1 Jun 2009 17:06:18 +0000 (13:06 -0400)
I ran into this on my boards that start out with the really minimal
(console and null only) set of dev nodes prior to udev running.  The
banner script looks around for what might be the vtmaster (aka what's
got console) to say that we're booting.  But that's where things go by
default anyhow.

Signed-off-by: Tom Rini <trini@embeddedalley.com>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Mike Westerhof <mwester@dls.net>
recipes/initscripts/initscripts-1.0/banner
recipes/initscripts/initscripts-1.0/slugos/banner [deleted file]
recipes/initscripts/initscripts_1.0.bb

index 0349ce195458bbb84a086269b944c13215389438..4e69c29e5016e7b6e9e942b2d489585e820855b8 100644 (file)
@@ -1,17 +1,3 @@
 #!/bin/sh
 
-if [ ! -e /dev/tty ]; then
-    /bin/mknod -m 0666 /dev/tty c 5 0
-fi
-
-if ( > /dev/tty0 ) 2>/dev/null; then
-    vtmaster=/dev/tty0
-elif ( > /dev/vc/0 ) 2>/dev/null; then
-    vtmaster=/dev/vc/0
-elif ( > /dev/console ) 2>/dev/null; then
-    vtmaster=/dev/console
-else
-    vtmaster=/dev/null
-fi
-echo > $vtmaster
-echo "Please wait: booting..." > $vtmaster
+echo "Please wait: booting..."
diff --git a/recipes/initscripts/initscripts-1.0/slugos/banner b/recipes/initscripts/initscripts-1.0/slugos/banner
deleted file mode 100644 (file)
index 8e64235..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-#NOTE: this script may execute with absolutely nothing
-# in /dev
-echo "SlugOS booting..."
index cbcfec5e18b5f3b9a1754501480eb2224028d86e..664214436ee37611a20ffd28053562c7812c122b 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "required"
 DEPENDS = "makedevs"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r114"
+PR = "r115"
 
 SRC_URI = "file://functions \
            file://halt \