]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Enable InstallDirectory and SourceFileTransferFinal options
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 6 Jan 2021 17:41:44 +0000 (18:41 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 6 Jan 2021 23:28:34 +0000 (23:28 +0000)
- 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

index 98ee15bf1bfbb546c4c551098eb9a4134f91bf7f..08a03f489b02279c4d0b9b290552cf072bfe32f5 100644 (file)
@@ -10,6 +10,8 @@ HostonlyInitrd=yes
 [Packages]
 BuildDirectory=mkosi.builddir
 Cache=mkosi.cache
+InstallDirectory=mkosi.installdir
+SourceFileTransferFinal=copy-git-others
 
 [Host]
 QemuHeadless=yes