diff options
author | Matthias Hentges <oe@hentges.net> | 2006-05-21 12:03:41 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-21 12:03:41 +0000 |
commit | 13af56a1eff8f8f97f80ff34012f54d104cf7a9a (patch) | |
tree | a50883fa3b0357f48750e5062c2b2266b2ea525d /packages/altboot | |
parent | bc6202b190738b8a44174cbfff98a608d0ee8b45 (diff) |
altboot: Poodle: Fix boot-timeout, add 1.0.7-rc4
Diffstat (limited to 'packages/altboot')
-rw-r--r-- | packages/altboot/altboot_1.0.7-rc4.bb (renamed from packages/altboot/altboot_1.0.7-rc3.bb) | 0 | ||||
-rw-r--r-- | packages/altboot/files/init.altboot | 10 |
2 files changed, 7 insertions, 3 deletions
diff --git a/packages/altboot/altboot_1.0.7-rc3.bb b/packages/altboot/altboot_1.0.7-rc4.bb index 245cf2a426..245cf2a426 100644 --- a/packages/altboot/altboot_1.0.7-rc3.bb +++ b/packages/altboot/altboot_1.0.7-rc4.bb diff --git a/packages/altboot/files/init.altboot b/packages/altboot/files/init.altboot index 08ba81e962..2c106efa73 100644 --- a/packages/altboot/files/init.altboot +++ b/packages/altboot/files/init.altboot @@ -177,9 +177,12 @@ run_timer() { case "`uname -r`" in 2.4*) key_ints="`cat /proc/interrupts | grep keyboard | awk '{print $2}'`";; 2.6*) key_ints="`cat /proc/interrupts | grep Spitzkbd`" - test -z "$key_ints" && key_ints="`cat /proc/interrupts | grep -i corgikbd`";; + test -z "$key_ints" && key_ints="`cat /proc/interrupts | grep -i corgikbd`" + test -z "$key_ints" && key_ints="`cat /proc/interrupts | grep -i locomokbd`";; esac + test -z "$key_ints" && debug_echo "Couldn't read keyboard ints!" + stty -echo <"$OUT_TTY" >"$OUT_TTY" 2>&1 echo -en "\n\nPlease press any key to launch altboot." > "$OUT_TTY" @@ -192,7 +195,8 @@ run_timer() { case "`uname -r`" in 2.4*) key_ints_now="`cat /proc/interrupts | grep keyboard | awk '{print $2}'`";; 2.6*) key_ints_now="`cat /proc/interrupts | grep Spitzkbd`" - test -z "$key_ints_now" && key_ints_now="`cat /proc/interrupts | grep -i corgikbd`";; + test -z "$key_ints_now" && key_ints_now="`cat /proc/interrupts | grep -i corgikbd`" + test -z "$key_ints_now" && key_ints_now="`cat /proc/interrupts | grep -i locomokbd`";; esac if test "$key_ints_now" != "$key_ints" -o -z "$key_ints_now" @@ -323,7 +327,7 @@ then debug_shell 4 >/dev/null 2>&1 & fi -if test -f /proc/cmdline -a "`ps ax|wc -l|tr -d " "`" -gt 30 -a "$1" != "-force" +if test -f /proc/cmdline -a "`ps ax|wc -l|tr -d " "`" -gt 30 -a "$1" != "-force" -a "$1" != "+force" then echo "altboot: Using real init [$REAL_INIT] [$*] [`ps ax|wc -l|tr -d " "`] *" >"$OUT_TTY" exec $REAL_INIT $* |