Skip to content
Snippets Groups Projects
Verified Commit a37ed92b authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

main/postmarketos-initramfs: umount /boot in the initramfs

Fixes a bug where the kernel thinks the boot partition is still mounted
and it's unavailable for mounting in the rootfs

If you look at what the initramfs was doing before !5635, it was
explicitly umounting the boot partition from /boot in the initramfs and
then mounting it under /boot in the rootfs:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/blob/c45d7ec0a5f7ac814b50087402bb11825120f42b/main/postmarketos-initramfs/init.sh#L87

With this patch, we're now back to umounting /boot in the initramfs.
The second part of that original logic is now handled elsewhere now, and
that seems to be working OK since you confirmed that /boot is available/
mounted automatically when you finish booting)

The bug was reported here:
#3279 (comment 454346)
parent ea7eb26f
No related branches found
No related tags found
No related merge requests found
Pipeline #209402 passed
Loading
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