]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Don't build default initrd for directory images by default 4164/head
authorDaan De Meyer <daan@amutable.com>
Fri, 13 Feb 2026 16:05:40 +0000 (17:05 +0100)
committerDaan De Meyer <daan@amutable.com>
Fri, 13 Feb 2026 20:44:01 +0000 (21:44 +0100)
commit4c984506005259cdcbde325ec996f1920b27d3c3
treed12019ca71b64fe049d1ab27f18f66070d788329
parenta97c50044ce19d72e5119cd11af6993c3944ab65
Don't build default initrd for directory images by default

We switched this around a long time ago to accomodate virtiofsd qemu
boots as those needed an initrd without the image necessarily being
bootable. Given Fedora and Arch now allow for direct kernel boot with
virtiofsd without needing an initrd, let's switch back the default to
not building an initrd for directory images, so that the same config
can be used to build disk images for vm boot and directory images for
container boot without having to build the initrd when building directory
images.
mkosi/config.py
mkosi/resources/man/mkosi.1.md