Support writing boot and root partition's UUIDs to /etc/fstab
According to https://wiki.postmarketos.org/wiki/Fstab we don't use fstab mainly because we can't know the UUID of the boot and root partition in advance. This makes sense when we didn't have an on-device installer, but with such an installer we totally can get those UUIDs.
It would be great if the installer wrote those to /etc/fstab
and enabled the localmount
service so the mounting process is more standard like most distributions on the desktop.
We'd still need to support the non-on-device installer use-case, but for the cases where the installer is used it makes the initramfs a lot simpler.