mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 15:36:29 +00:00
cleanup-device (#681)
This commit is contained in:
parent
4eda8a1ff3
commit
ce3c80641b
@ -32,6 +32,8 @@ if [ ! -b "${NEW_DEVICE_ROOT}" ]; then
|
|||||||
echo "[ERROR] No block device ${NEW_DEVICE_ROOT}!"
|
echo "[ERROR] No block device ${NEW_DEVICE_ROOT}!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
echo "[INFO] Cleanup device ${NEW_DEVICE_ROOT}!"
|
||||||
|
sgdisk -Z "${NEW_DEVICE_ROOT}"
|
||||||
|
|
||||||
# Create new partition
|
# Create new partition
|
||||||
echo "[INFO] Create new hassos-data partition"
|
echo "[INFO] Create new hassos-data partition"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user