Zero the initial drive bytes
This commit is contained in:
parent
d0eb13b5ec
commit
f6810fbba6
|
@ -700,6 +700,7 @@ if [[ $IMAGE_TYPE != "qemu"* ]]; then
|
|||
fi
|
||||
echo ''
|
||||
echo " unxz -k ${PROJECT_NAME}*.img.xz"
|
||||
echo ' sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8'
|
||||
echo " sudo dd bs=1M if=${PROJECT_NAME}*.img of=/dev/sdX conv=fdatasync"
|
||||
echo ''
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue