summaryrefslogtreecommitdiff
path: root/scripts/install.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-07 06:24:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-07 06:24:31 +0200
commita5393320f05f681006915fcffe5631da874daee8 (patch)
tree0bc9563da6929ec872bad3263a23519426ec91d4 /scripts/install.sh
parentc9712ddbbaf32cbf5bcdfd8154a733f2c2c84f6a (diff)
parentc59a468aae2eb6522e97d877992f3b059b4e6242 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/install.sh')
-rwxr-xr-xscripts/install.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 47acc20f4..66553de6b 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -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}..."