Failing on e.g. "/dev/sda:512GB:scsi:512:512:gpt:ATA Samsung SSD 850:pmbr_boot;"
Fixed by only matching the device name when removing rpmb and boot devices
RE was added for MMC support in #9d1d032 and removes special MMC areas like
/dev/mmcblk0rmpb or /dev/mmcblk0boot1
I suspect the recursive calls were to work around the error caused by break
being called in a case statement which itself is within a while loop - the break
causes the while loop to terminate, bringing the installer to a grinding halt... whoops.
Now, menu_main() is called only from the main process loop, which we don't exit accidentally.
I've removed an entire case statement from do_install_quick() as this function either
performs an installation, or it doesn't - the case statement is pointless.
Due to the removal of whitespace, add ?w=1 in github.com when reviewing.
Remove the (at least on my system) broken repair/upgrade mode from
the installer. At the same time improve the formatting/wording of
some screens. Should be a bit simpler now.
This modifies the installer to use whiptail instead of dialog. Line drawing does not work without a proper locale. Create en_US.UTF-8 locale as part of the installer.