7030e08e7b2f0dda2b2baf646b402972520aead0
In mount_subpartition we currently try to look for the boot partition, to see if we're done (either we aren't using subpartitions or we found the right one). However it is possible that a device might have originally used the subpartition scheme, but was later converted to have a real boot partition (for EFI for example). In this scenario, the boot partition would be found immediately, but the root subpartition would not be. Address this by making mount_subpartition check for success by calling find_root_partition instead of find_boot_partition. For most installations this has no impact. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Languages
Shell
95.8%
Python
2.5%
C
1.2%
Batchfile
0.3%
Jinja
0.2%