postmarketos-initramfs: mount subpartitions after hooks (MR 5000)
This step is the most likely to go wrong or have issues, and it has side effects which can make it difficult to run multiple times on one boot. Move it to after hooks so that e.g. when dropping to a debug shell, we land before the first call. This also makes booting to hooks a faster in many cases. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
5dcb7aab62
commit
118a30935e
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,6 @@ if [ "$IN_CI" = "false" ]; then
|
|||
show_splash "Loading..."
|
||||
setup_mdev
|
||||
setup_dynamic_partitions "${deviceinfo_super_partitions:=}"
|
||||
mount_subpartitions
|
||||
else
|
||||
# loads all modules
|
||||
setup_udev
|
||||
|
@ -53,6 +52,8 @@ fi
|
|||
setup_usb_network
|
||||
start_unudhcpd
|
||||
|
||||
mount_subpartitions
|
||||
|
||||
wait_boot_partition
|
||||
mount_boot_partition /boot
|
||||
extract_initramfs_extra /boot/initramfs-extra
|
||||
|
|
Loading…
Reference in a new issue