mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
mkosi: Build a disk image by default again
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.
This commit is contained in:
parent
646ed5af00
commit
96110261ee
@ -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]
|
||||
|
@ -4,7 +4,6 @@
|
||||
InitrdInclude=initrd/
|
||||
|
||||
[Output]
|
||||
@Format=directory
|
||||
RepartDirectories=mkosi.repart
|
||||
|
||||
[Content]
|
||||
|
Loading…
Reference in New Issue
Block a user