diff options
author | Joseph Pillow <joseph.a.pillow@gmail.com> | 2016-04-21 16:15:10 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-05-04 18:54:59 +0200 |
commit | d3fccfbc41988b110d6861f53ee3b8908e90e422 (patch) | |
tree | 59853b10aac57433f7833fcd27b3d97c4ab58546 /util | |
parent | 2a07a4d62b2512091abb3b38e753137a63347e2c (diff) | |
download | coreboot-d3fccfbc41988b110d6861f53ee3b8908e90e422.tar.xz |
crosfirmware: Make script more silent
Remove debug output and parted messages.
Change-Id: I6416a88b5fdb4c92741439e9edb5f753f885cbe3
Signed-off-by: Joseph Pillow <joseph.a.pillow@gmail.com>
Reviewed-on: https://review.coreboot.org/14460
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/chromeos/crosfirmware.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util/chromeos/crosfirmware.sh b/util/chromeos/crosfirmware.sh index a4cb487c2c..9e00ba6aff 100644 --- a/util/chromeos/crosfirmware.sh +++ b/util/chromeos/crosfirmware.sh @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/bash # # This file is part of the coreboot project. # @@ -54,7 +54,8 @@ extract_partition() _bs=1024 debug "Extracting ROOT-A partition" - ROOTP=$( printf "unit\nB\nprint\nquit\n" | parted $FILE | grep $NAME ) + ROOTP=$( printf "unit\nB\nprint\nquit\n" | \ + parted $FILE 2>/dev/null | grep $NAME ) START=$(( $( echo $ROOTP | cut -f2 -d\ | tr -d "B" ) )) SIZE=$(( $( echo $ROOTP | cut -f4 -d\ | tr -d "B" ) )) |