Skip to content
Snippets Groups Projects
Verified Commit 118a3093 authored by Caleb Connolly's avatar Caleb Connolly :recycle: Committed by Clayton Craft
Browse files

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: default avatarCaleb Connolly <caleb@postmarketos.org>
parent 5dcb7aab
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment