From: Matthias Hentges Date: Thu, 12 Jan 2006 10:37:19 +0000 (+0000) Subject: altboot: Allow for debug kernels (menu wouldn't show with tty1 in CMDLINE) X-Git-Tag: Release-2010-05/1~9453^2~2664^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=308ca12370f485243e31dea49bf3d98dde33c901;p=openembedded.git altboot: Allow for debug kernels (menu wouldn't show with tty1 in CMDLINE) --- 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 " 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 $*