From 79a998fa21044d2d47392aa1db8015689ce1216e Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 6 Jan 2021 18:41:44 +0100 Subject: [PATCH] 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. --- mkosi.default.d/10-systemd.conf | 2 ++ 1 file changed, 2 insertions(+) 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