aboutsummaryrefslogtreecommitdiff
path: root/state
diff options
context:
space:
mode:
Diffstat (limited to 'state')
-rwxr-xr-xstate/gen5
1 files changed, 5 insertions, 0 deletions
diff --git a/state/gen b/state/gen
index ddaf9d1..720c1d3 100755
--- a/state/gen
+++ b/state/gen
@@ -77,6 +77,11 @@ if [ -n "$SDCARD_DISK" ] ; then
if ($6 != "ROOTFS") exit(1)
}' && SDCARD_FMT_OK=0
fi
+ else
+ # assume sd card is formatted correctly if SDCARD_PART_BOOT and
+ # SDCARD_PART_ROOTFS are already set
+ SDCARD_PART_OK=0
+ SDCARD_FMT_OK=0
fi
fi
set_state sdcard_part $SDCARD_PART_OK