From 7e2c8b516d59b8a70d79fe01021dd6d928e67b5c Mon Sep 17 00:00:00 2001 From: Kees Jongenburger Date: Sat, 27 Apr 2013 22:58:49 +0200 Subject: [PATCH] build:make sdimage more silent. Change-Id: I9bba37c93c27c599ec914d1f069ca21e6cbfe111 --- releasetools/arm_sdimage.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/releasetools/arm_sdimage.sh b/releasetools/arm_sdimage.sh index 9b76ef478..a954cb657 100755 --- a/releasetools/arm_sdimage.sh +++ b/releasetools/arm_sdimage.sh @@ -100,10 +100,10 @@ ${CROSS_TOOLS}/nbpwd_mkdb -V 0 -p -d ${DESTDIR} ${DESTDIR}/etc/master.passwd # Now given the sizes above use DD to create separate files representing # the partitions we are going to use. # -dd if=/dev/zero of=${IMG_DIR}/fat.img bs=512 count=1 seek=$(($FAT_SIZE -1)) -dd if=/dev/zero of=${IMG_DIR}/root.img bs=512 count=1 seek=$(($ROOT_SIZE -1)) -dd if=/dev/zero of=${IMG_DIR}/home.img bs=512 count=1 seek=$(($HOME_SIZE -1)) -dd if=/dev/zero of=${IMG_DIR}/usr.img bs=512 count=1 seek=$(($USR_SIZE -1)) +dd if=/dev/zero of=${IMG_DIR}/fat.img bs=512 count=1 seek=$(($FAT_SIZE -1)) 2>/dev/null +dd if=/dev/zero of=${IMG_DIR}/root.img bs=512 count=1 seek=$(($ROOT_SIZE -1)) 2>/dev/null +dd if=/dev/zero of=${IMG_DIR}/home.img bs=512 count=1 seek=$(($HOME_SIZE -1)) 2>/dev/null +dd if=/dev/zero of=${IMG_DIR}/usr.img bs=512 count=1 seek=$(($USR_SIZE -1)) 2>/dev/null # # Create the empty image where we later will but the partitions in @@ -124,7 +124,7 @@ USR_START=$(($HOME_START + $HOME_SIZE + 1)) # # Generate the partitions using sfdisk to partition the # -sfdisk --no-reread -q ${IMG} </dev/null <