From 48bc69b14b876bb4e03fb310f9e777a971098453 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Thu, 3 May 2018 15:40:10 +0200 Subject: [PATCH] run/image/disk: consider ext2 overhead The original value of 256K does not suffice for images of the size of sculpt. --- tool/run/image/disk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/run/image/disk b/tool/run/image/disk index c261b8378..49ab0eef5 100644 --- a/tool/run/image/disk +++ b/tool/run/image/disk @@ -31,7 +31,7 @@ proc run_image { {unused ""} } { if {[image_disk_size] > 0} { set disk_size_kb [expr [image_disk_size] * 1024 * 1024] } else { - set disk_size_kb [expr ($size_run + 256) / 32 * 32] + set disk_size_kb [expr ($size_run + 256 + 128) / 32 * 32] } # setup partition with content