summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2019-04-09 15:59:52 +0206
committerJohn Ogness <john.ogness@linutronix.de>2019-04-09 15:59:52 +0206
commitb4cca8978c7a2c075b60da67c85d4320703fcca0 (patch)
tree86729866f115715ccd8511c2cc2f9035f0c4f857
parentc2309c68062502aacb983da1f231bcfb53cda996 (diff)
dd-multi.sh: inform the trainer how much to dd
The dd step is the longest, so showing the progress is nice. But dd does not show how big the file is. Hard-code the size since we know how big it is. Signed-off-by: John Ogness <john.ogness@linutronix.de>
-rwxr-xr-xlx-trainer-vm/dd-multi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lx-trainer-vm/dd-multi.sh b/lx-trainer-vm/dd-multi.sh
index 9c4668b..78740f1 100755
--- a/lx-trainer-vm/dd-multi.sh
+++ b/lx-trainer-vm/dd-multi.sh
@@ -134,7 +134,7 @@ dd if=/dev/zero bs=10M count=1 2> /dev/null | tee $DESTS > /dev/null
partprobe $DESTS
# efficiently copy source to all destinations and rescan devices
-echo 'writing image to disks'
+echo 'writing image to disks (64GiB)'
dd if=$SRC_FILE bs=128M status=progress | tee $DESTS > /dev/null
# fix partition table and add extra partition