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.
This commit is contained in:
Daan De Meyer 2021-01-06 18:41:44 +01:00 committed by Luca Boccassi
parent 15308e5083
commit 79a998fa21
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ HostonlyInitrd=yes
[Packages] [Packages]
BuildDirectory=mkosi.builddir BuildDirectory=mkosi.builddir
Cache=mkosi.cache Cache=mkosi.cache
InstallDirectory=mkosi.installdir
SourceFileTransferFinal=copy-git-others
[Host] [Host]
QemuHeadless=yes QemuHeadless=yes