From a32fbb1de4c0bb0a68b3c54240bc711353b0fd17 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 4 Oct 2014 16:21:55 -0500 Subject: be less verbose --- scripts/install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts/install.sh') diff --git a/scripts/install.sh b/scripts/install.sh index 47acc20f4..cf9d5ecf6 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -200,7 +200,7 @@ case $ostype { umount "$1" } function create_fs { - mkfs.$3 "$1" + mkfs.$3 -q "$1" tune2fs -c 0 -i 0 "$1" } ;; @@ -474,21 +474,21 @@ partuuid=$(dd if="$T/firsttrack" bs=1 count=4 skip=$((0x1B8)) 2>/dev/null | \ (( quiet )) || print Cleaning out partitions... (( datafssz )) && dd if=/dev/zero of="$tgt" bs=1048576 count=1 \ - seek=$((cyls - cfgfs - datafssz)) -dd if=/dev/zero bs=1048576 of="$tgt" count=1 seek=$((spartofs / 2048)) + seek=$((cyls - cfgfs - datafssz)) > /dev/null 2>&1 +dd if=/dev/zero bs=1048576 of="$tgt" count=1 seek=$((spartofs / 2048)) > /dev/null 2>&1 (( quiet )) || if (( grub )); then print Writing MBR and GRUB2 to target device... system PARTUUID=$partuuid else print Writing MBR to target device... system PARTUUID=$partuuid fi -dd if="$T/firsttrack" of="$tgt" +dd if="$T/firsttrack" of="$tgt" > /dev/null 2>&1 case $target { (solidrun-imx6) fwdir=$(dirname "$src") - dd if="$fwdir/SPL" of="$tgt" bs=1024 seek=1 - dd if="$fwdir/u-boot.img" of="$tgt" bs=1024 seek=42 + dd if="$fwdir/SPL" of="$tgt" bs=1024 seek=1 > /dev/null 2>&1 + dd if="$fwdir/u-boot.img" of="$tgt" bs=1024 seek=42 > /dev/null 2>&1 ;; (raspberry-pi) (( quiet )) || print "Creating filesystem on ${bootpart}..." -- cgit v1.2.3 From 51ce4a5f070087d6697ffe9d6b27d88485aab5db Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 7 Oct 2014 05:33:10 +0200 Subject: -q breaks mkfs.vfat, reported by joern --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/install.sh') diff --git a/scripts/install.sh b/scripts/install.sh index cf9d5ecf6..66553de6b 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -200,7 +200,7 @@ case $ostype { umount "$1" } function create_fs { - mkfs.$3 -q "$1" + mkfs.$3 "$1" tune2fs -c 0 -i 0 "$1" } ;; -- cgit v1.2.3