From 81b4ecf02d52aa4e896f4e264af8079b32b1394f Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 16 Apr 2018 15:35:30 +0200 Subject: [PATCH] Update hdd_image.sh --- buildroot-external/scripts/hdd_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildroot-external/scripts/hdd_image.sh b/buildroot-external/scripts/hdd_image.sh index f18ff73d3..e304ebd98 100755 --- a/buildroot-external/scripts/hdd_image.sh +++ b/buildroot-external/scripts/hdd_image.sh @@ -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