summaryrefslogtreecommitdiff
path: root/mkosi.default.d
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2021-01-06 18:41:44 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2021-01-06 23:28:34 +0000
commit79a998fa21044d2d47392aa1db8015689ce1216e (patch)
treedb4ee640e85912992e9e9a485ef7f2ed1da1e6d8 /mkosi.default.d
parent15308e5083391f6a1b9ce25c5b7323f37544eab8 (diff)
downloadsystemd-79a998fa21044d2d47392aa1db8015689ce1216e.tar.gz
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.
Diffstat (limited to 'mkosi.default.d')
-rw-r--r--mkosi.default.d/10-systemd.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkosi.default.d/10-systemd.conf b/mkosi.default.d/10-systemd.conf
index 98ee15bf1b..08a03f489b 100644
--- a/mkosi.default.d/10-systemd.conf
+++ b/mkosi.default.d/10-systemd.conf
@@ -10,6 +10,8 @@ HostonlyInitrd=yes
[Packages]
BuildDirectory=mkosi.builddir
Cache=mkosi.cache
+InstallDirectory=mkosi.installdir
+SourceFileTransferFinal=copy-git-others
[Host]
QemuHeadless=yes