prevent endless loop in prepare-kernel.sh
PATCH 1/1 prevent endless loop in prepare-kernel.sh
Hi there!
Just noted that prepare-kernel.sh ends up in an endless loop when you use "--default" together with an invalid "--arch" parameter.
Here's a small patch. Please apply. TIA!
prepare-kernel.sh +2 -0
@@ -327,6 +327,7 @@ *) echo "$me: unsupported architecture: $linux_arch" >&2 linux_arch= + usedefault= ;; esac if test \! x$linux_arch = x; then
@@ -384,6 +385,7 @@ fi if test \! -r "$adeos_patch"; then echo "$me: cannot read Adeos patch from $adeos_patch" >&2 + usedefault= adeos_patch= fi done
Signature · 5 lines
With kind regards, Gernot Hillier Siemens AG, CT SE 2 Corporate Competence Center Embedded Linux
Philippe Gerum
AppliedQuoted 21 lines · Gernot
Hi there!
Just noted that
prepare-kernel.shends up in an endless loop when you use "--default" together with an invalid "--arch" parameter.Here's a small patch. Please apply. TIA!
Index:
scripts/prepare-kernel.sh
===================================================================prepare-kernel.sh +1
-0@@ -327,6 +327,7 @@ *) echo "$me: unsupported architecture: $linux_arch" >&2 linux_arch= + usedefault= ;; esac if test \! x$linux_arch = x; then
prepare-kernel.sh line 391
Quoted 7 lines
prepare-kernel.sh +1
-0@@ -384,6 +385,7 @@ fi if test \! -r "$adeos_patch"; then echo "$me: cannot read Adeos patch from $adeos_patch" >&2 + usedefault= adeos_patch= fi done
Merged, thanks.
Signature · 1 line
Philippe.