Zero the initial drive bytes

This commit is contained in:
Bob Mottram 2017-09-15 22:15:40 +01:00
parent d0eb13b5ec
commit f6810fbba6
1 changed files with 1 additions and 0 deletions

View File

@ -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