cleanup-device (#681)

This commit is contained in:
Pascal Vizeli
2020-05-19 21:29:57 +02:00
committed by GitHub
parent 4eda8a1ff3
commit ce3c80641b

View File

@@ -32,6 +32,8 @@ if [ ! -b "${NEW_DEVICE_ROOT}" ]; then
echo "[ERROR] No block device ${NEW_DEVICE_ROOT}!"
exit 1
fi
echo "[INFO] Cleanup device ${NEW_DEVICE_ROOT}!"
sgdisk -Z "${NEW_DEVICE_ROOT}"
# Create new partition
echo "[INFO] Create new hassos-data partition"