summaryrefslogtreecommitdiffstats
path: root/mkosi.images
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-12-07 19:52:41 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-01-12 16:19:48 +0100
commit52842bb2c50784dfb7ae10aac5797a3743980392 (patch)
tree4b80452071b15295736fc43c00954d1862f28239 /mkosi.images
parentnetwork/ndisc: do not try to set too large value for ICMP ratelimting (diff)
downloadsystemd-52842bb2c50784dfb7ae10aac5797a3743980392.tar.xz
systemd-52842bb2c50784dfb7ae10aac5797a3743980392.zip
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 ```
Diffstat (limited to 'mkosi.images')
-rw-r--r--mkosi.images/system/mkosi.conf3
1 files changed, 3 insertions, 0 deletions
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