diff options
| author | John Ogness <john.ogness@linutronix.de> | 2019-04-09 15:54:18 +0206 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2019-04-09 15:54:18 +0206 |
| commit | c2309c68062502aacb983da1f231bcfb53cda996 (patch) | |
| tree | 026fd67f7368118d772c770599d9376629dbe8e6 | |
| parent | 942c4bdec11f675d39ea9cc183386c4f78bfb0df (diff) | |
dd-multi.sh: use dd features from stretch and 128M blocks
All trainers are now using stretch (or higher), so use the
status=progress feature. Also, increase the blocksize to
128M since that amount should be available on the cloning
host.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
| -rwxr-xr-x | lx-trainer-vm/dd-multi.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lx-trainer-vm/dd-multi.sh b/lx-trainer-vm/dd-multi.sh index cb11656..9c4668b 100755 --- a/lx-trainer-vm/dd-multi.sh +++ b/lx-trainer-vm/dd-multi.sh @@ -134,8 +134,8 @@ 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, monitor with: sudo kill -s USR1 `pidof dd`' -dd if=$SRC_FILE bs=64M | tee $DESTS > /dev/null +echo 'writing image to disks' +dd if=$SRC_FILE bs=128M status=progress | tee $DESTS > /dev/null # fix partition table and add extra partition for dest in $DESTS; do |
