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>
This commit is contained in:
Joseph Pillow 2016-04-21 16:15:10 -07:00 committed by Martin Roth
parent 2a07a4d62b
commit d3fccfbc41
1 changed files with 3 additions and 2 deletions

View File

@ -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" ) ))