This allows using these to mount e.g. kernel modules as well
before switch-root. If there is no initramfs, the modules will still
be loaded in the rootfs.
if credentials["fstab.extra"] and not credentials["fstab.extra"][-1] == "\n":
credentials["fstab.extra"] += "\n"
- credentials["fstab.extra"] += f"{tag} {dst} virtiofs\n"
+ credentials["fstab.extra"] += f"{tag} {dst} virtiofs x-initrd.mount\n"
if config.runtime_build_sources:
with finalize_source_mounts(config, ephemeral=False) as mounts: