linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] bootwrapper: Allow wrapper script to execute verbosely
@ 2007-10-16 21:31 Grant Likely
  2007-10-16 21:31 ` [PATCH 2/2] bootwrapper: Bail from script if any command fails Grant Likely
  2007-10-16 22:29 ` [PATCH 1/2] bootwrapper: Allow wrapper script to execute verbosely Andreas Schwab
  0 siblings, 2 replies; 7+ messages in thread
From: Grant Likely @ 2007-10-16 21:31 UTC (permalink / raw)
  To: linuxppc-dev, paulus, David Gibson, Scott Wood

From: Grant Likely <grant.likely@secretlab.ca>

Allow wrapper script to print verbose progress when the V is set in the
environment.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---

 arch/powerpc/boot/wrapper |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index 39b27e5..8323ea4 100755
--- a/arch/powerpc/boot/wrapper
+++ b/arch/powerpc/boot/wrapper
@@ -21,6 +21,11 @@
 #		(default ./arch/powerpc/boot)
 # -W dir	specify working directory for temporary files (default .)
 
+# Allow for verbose output
+if [ "$V" == "1" ]; then
+    set -x
+fi
+
 # defaults
 kernel=
 ofile=zImage

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-18 20:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-16 21:31 [PATCH 1/2] bootwrapper: Allow wrapper script to execute verbosely Grant Likely
2007-10-16 21:31 ` [PATCH 2/2] bootwrapper: Bail from script if any command fails Grant Likely
2007-10-17  0:33   ` David Gibson
2007-10-17  2:10     ` Grant Likely
2007-10-18 20:19     ` Grant Likely
2007-10-16 22:29 ` [PATCH 1/2] bootwrapper: Allow wrapper script to execute verbosely Andreas Schwab
2007-10-16 23:08   ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).