pmaports/main/postmarketos-initramfs
jane400 59fd336bbc
main/postmarketos-initramfs: run fsck and mount sysroot as rw (MR 5238)
This moves the responsibility to auto-repair filesystems to the
initramfs. (I think we don't do this at all right now).
We don't try to mount broken partitions at all, we tell the user
that the system is broken and fail_to_boot.

The flow is now:

1. mount the boot partition (read-only) for initramfs-extra
2. initramfs-extra is extracted (with the needed fsck executables)
3. fsck the root partition
4. mount root partition (read-write)
5. fsck the boot partition
6. mount the boot partition (read-write)

This helps with the systemd bringup, as we want to make use of
systemd-firstboot, which sets /etc and enabled services up. As
this service is responsible of setting up /etc, it is run before
/etc/fstab is read and before / is remounted read-write.
2024-07-09 15:49:26 -07:00
..
00-default.modules postmarketos-initramfs: debug-shell: buffyboard (MR 5048) 2024-06-26 17:32:33 -07:00
00-initramfs-base.dirs main/postmarketos-initramfs: Allow packages to define cleanup hooks (MR 5191) 2024-06-04 18:44:34 +00:00
00-initramfs-base.files postmarketos-initramfs: debug-shell: buffyboard (MR 5048) 2024-06-26 17:32:33 -07:00
00-initramfs-extra-base.files main/postmarketos-initramfs: run fsck and mount sysroot as rw (MR 5238) 2024-07-09 15:49:26 -07:00
APKBUILD main/postmarketos-initramfs: run fsck and mount sysroot as rw (MR 5238) 2024-07-09 15:49:26 -07:00
init.sh postmarketos-initramfs: better wait_[br]oot_partition (MR 5048) 2024-06-26 17:32:33 -07:00
init_functions.sh main/postmarketos-initramfs: run fsck and mount sysroot as rw (MR 5238) 2024-07-09 15:49:26 -07:00
unudhcpd.conf main/postmarketos-initramfs: support custom IP addresses for USB net (MR 3349) 2023-08-23 13:06:15 -07:00