]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Build a disk image by default again
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 4 Jul 2024 10:13:31 +0000 (12:13 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 4 Jul 2024 10:43:50 +0000 (12:43 +0200)
Now that we have a way to rebuild and reinstall systemd without
having to rebuild the image, let's default to building a disk image
again.

docs/HACKING.md
mkosi.images/system/mkosi.conf

index 5a00f1bfd540380adde7d35694ee6132b9f8b1d6..5b1e355327757e928e38e33d64c8ff4e1f1070db 100644 (file)
@@ -45,27 +45,10 @@ or:
 $ mkosi qemu
 ```
 
-Every time you rerun the `mkosi` command a fresh image is built,
-incorporating all current changes you made to the project tree.
-
-By default a directory image is built.
-This requires `virtiofsd` to be installed on the host.
-To build a disk image instead which does not require `virtiofsd`, add the following to `mkosi.local.conf`:
-
-```conf
-[Output]
-Format=disk
-```
-
-To boot in UEFI mode instead of using QEMU's direct kernel boot, add the following to `mkosi.local.conf`:
-
-```conf
-[Host]
-QemuFirmware=uefi
-```
-
-To avoid having to build a new image all the time when iterating on a patch,
-add the following to `mkosi.local.conf`:
+Every time you rerun the `mkosi` command a fresh image is built, incorporating
+all current changes you made to the project tree. To avoid having to build a new
+image all the time when iterating on a patch, add the following to
+`mkosi.local.conf`:
 
 ```conf
 [Host]
index d1632f19f2ff082ab97c7ed750fb1511c79adbcd..f8a91df5ec4093a50001262925448eb7a4999545 100644 (file)
@@ -4,7 +4,6 @@
 InitrdInclude=initrd/
 
 [Output]
-@Format=directory
 RepartDirectories=mkosi.repart
 
 [Content]