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:
parent
2a07a4d62b
commit
d3fccfbc41
|
@ -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" ) ))
|
||||
|
|
Loading…
Reference in New Issue