diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-02-06 10:46:39 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-02-06 10:46:39 +0100 |
commit | ae327cc50fd9d3e59e9f60088243adfc69cb312e (patch) | |
tree | 4efe5520ba87a604cf35e3d5c00d196e214bf1ae /state | |
parent | b854e8abb7e1ff0b43c9f99e9b641895e4d6c148 (diff) |
fix busybox booting into root shellweek3
Diffstat (limited to 'state')
-rwxr-xr-x | state/gen | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |