From: Kees Jongenburger Date: Sat, 27 Apr 2013 20:58:49 +0000 (+0200) Subject: build:make sdimage more silent. X-Git-Tag: v3.3.0~986 X-Git-Url: http://zhaoyanbai.com/repos/dnssec-settime.html?a=commitdiff_plain;h=7e2c8b516d59b8a70d79fe01021dd6d928e67b5c;p=minix.git build:make sdimage more silent. Change-Id: I9bba37c93c27c599ec914d1f069ca21e6cbfe111 --- 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 <