From 52842bb2c50784dfb7ae10aac5797a3743980392 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 7 Dec 2023 19:52:41 +0100 Subject: mkosi: Build a directory image by default Both building and booting a directory image is much faster than building or booting a disk image so let's default to a directory image. In CI, we stick to a disk image to make sure that keeps working as well. The only extra dependency this introduces is virtiofsd which is packaged in all distributions except Debian stable. For users hacking on systemd on Debian stable, a disk image can be built by writing the following to mkosi.local.conf: ``` [Output] Format=disk ``` --- mkosi.images/system/mkosi.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mkosi.images') diff --git a/mkosi.images/system/mkosi.conf b/mkosi.images/system/mkosi.conf index 6948f8eb7c..9646bbefde 100644 --- a/mkosi.images/system/mkosi.conf +++ b/mkosi.images/system/mkosi.conf @@ -3,6 +3,9 @@ [Config] Dependencies=base +[Output] +@Format=directory + [Content] Autologin=yes BaseTrees=../../mkosi.output/base -- cgit v1.2.3