summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-01-12 10:37:19 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-12 10:37:19 +0000
commit308ca12370f485243e31dea49bf3d98dde33c901 (patch)
tree261e87b7814a14fa76ab8e3e53b1804bd862ed54
parent2b8d6d7c246759913efb718d5417910f1336ed02 (diff)
altboot: Allow for debug kernels (menu wouldn't show with tty1 in CMDLINE)
-rw-r--r--packages/altboot/altboot.bb2
-rw-r--r--packages/altboot/files/init.altboot2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/altboot/altboot.bb b/packages/altboot/altboot.bb
index a322dacdd9..de5d780579 100644
--- a/packages/altboot/altboot.bb
+++ b/packages/altboot/altboot.bb
@@ -6,7 +6,7 @@ MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>"
LICENSE = "GPL"
-PR = "r8"
+PR = "r9"
SRC_URI = "file://altboot-menu \
diff --git a/packages/altboot/files/init.altboot b/packages/altboot/files/init.altboot
index 5c28edb5f3..2b7df14c86 100644
--- a/packages/altboot/files/init.altboot
+++ b/packages/altboot/files/init.altboot
@@ -243,7 +243,7 @@ wait_for_input() {
# * * * * * * This is the main function * * * * * *
-if ! test -z "$*"
+if test -n "$*" -a "$*" != "tty1"
then
echo "altboot: Using real init [$REAL_INIT] [$*] *" >/dev/tty1
exec $REAL_INIT $*