See https://www.freedesktop.org/software/systemd/man/latest/systemd-volatile-root.service.html
> This service is only enabled if full volatile mode is selected,
> for example by specifying "systemd.volatile=yes" on the kernel command line.
> This service runs only in the initrd, before the system transitions to the host's root directory.
> Note that this service is not used if "systemd.volatile=state" is used, as in that mode the root
> directory is non-volatile.
Support for this systemd feature has been added in systemd v242 .
https://github.com/systemd/systemd/pull/11243
installkernel() {
hostonly='' instmods autofs4 ipv6 dmi-sysfs
- hostonly=$(optional_hostonly) instmods -s efivarfs
+ hostonly=$(optional_hostonly) instmods -s efivarfs overlay
}
# called by dracut