From d3fccfbc41988b110d6861f53ee3b8908e90e422 Mon Sep 17 00:00:00 2001 From: Joseph Pillow Date: Thu, 21 Apr 2016 16:15:10 -0700 Subject: [PATCH] crosfirmware: Make script more silent Remove debug output and parted messages. Change-Id: I6416a88b5fdb4c92741439e9edb5f753f885cbe3 Signed-off-by: Joseph Pillow Reviewed-on: https://review.coreboot.org/14460 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/chromeos/crosfirmware.sh | 5 +++-- 1 file 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" ) ))