-
- Downloads
main/postmarketos-initramfs: skip mounting /boot if rootfs is in fstab (MR 5920)
There is a special check in init_2nd.sh for older postmarketOS installations that do not have a valid /etc/fstab file. When /boot does not appear in fstab, it searches for the boot partition and mounts it manually. However, /boot might be intentionally omitted in fstab, e.g. because we just have a single rootfs partition that also contains /boot. In that case it will wait forever, trying to find the missing boot partition. The old installations do not have any entries in fstab, so fix this by checking if the file is empty instead (with all comments and whitespace removed). [ci:skip-build]: already built successfully in CI
parent
2965a659
No related branches found
No related tags found
Please register or sign in to comment