1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-24 20:35:31 +00:00

Update hdd_image.sh

This commit is contained in:
Pascal Vizeli
2018-04-16 15:35:30 +02:00
committed by GitHub
parent fc8a96dc7d
commit 81b4ecf02d

View File

@@ -35,7 +35,7 @@ function hassio_hdd_image() {
local loop_dev=$(losetup -f)
# Write new image & GPT
dd if=/dev/zero of=${hdd_img} bs={IMAGE_SIZE} count=1
dd if=/dev/zero of=${hdd_img} bs=${IMAGE_SIZE} count=1
sgdisk -o ${hdd_img}
# Partition layout