From a21e995567224bf0313bd5aee28da5ad7c120ae6 Mon Sep 17 00:00:00 2001 From: Attila Lendvai Date: Thu, 17 Aug 2023 23:10:42 +0200 Subject: [PATCH] lower minimum pendrive size to ~100 Mb --- image-extras/common/root/autoprovision-stage1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-extras/common/root/autoprovision-stage1.sh b/image-extras/common/root/autoprovision-stage1.sh index 75f1a01..85b57f3 100755 --- a/image-extras/common/root/autoprovision-stage1.sh +++ b/image-extras/common/root/autoprovision-stage1.sh @@ -23,7 +23,7 @@ getPendriveSize() hasBigEnoughPendrive() { local size=$(getPendriveSize) - if [ $size -ge 600000 ]; then + if [ $size -ge 100000 ]; then log "Found a pendrive of size: $(($size / 2 / 1024)) MB" return 0 else