Installer fails when flashed to both eMMC and SD
On the Pinephone, when the installer has been flashed to the eMMC (but not yet installed) and another install attempt is made from the SD card, the install fails.
This is due to a safety check in https://gitlab.com/mobian1/calamares-settings-mobian/-/blob/mobian-installer/scripts/prepare-internal-storage#L9. Usually this works fine to ensure that the system is in a good state before starting. However, when the installer is on both disks, /dev/disk/by-label/installer
may be either the eMMC or SD version of the same partition.
Currently this is a known bug, but should be unlikely to be an issue for many users, who would use one install method or the other, not both.
A fix would likely require removing the offending line.
Thanks to @JPNC on Matrix for the report.