Commit graph

4 commits

Author SHA1 Message Date
Lennart Poettering c7e445abd5 Revert "mkosi: turn off qemu headless mode"
This reverts commit a02c1239cc.

(Sorry, I pushed this directly to 'main' by accident)
2021-09-24 14:20:40 +02:00
Lennart Poettering a02c1239cc mkosi: turn off qemu headless mode
We ship the mkosi files to make sure we can test our own code. A good
chunk of our code (and the main reason to use qemu rather than nspawn)
is the EFI code, i.e. in sd-boot and the EFI stub. Hence it's bad idea
to use qemu headless mode, since that means we bypass all that.

Let's hence toggle the defaults here, but keep the line in place, to
make it easy to switch back if someone wants the speed, rather than the
testing.
2021-09-23 17:07:13 +02:00
Daan De Meyer 79a998fa21 mkosi: Enable InstallDirectory and SourceFileTransferFinal options
- InstallDirectory caches the install part of the build process
which speeds up incremental builds a little and allows inspecting
the installed components in mkosi.installdir.
- SourceFileTransferFinal copies the source files to the final
image which makes the gdb experience in qemu/systemd-nspawn a bit
nicer as it can now find the source files and show the source code
in the gdb cli itself.
2021-01-06 23:28:34 +00:00
Daan De Meyer 6242cda99d Move shared mkosi settings to a single file in mkosi.default.d/ 2021-01-06 12:10:58 +00:00