summaryrefslogtreecommitdiffstats
path: root/mkosi.conf
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-04-30 14:29:14 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-04-30 15:20:55 +0200
commitc89244842bf0b050b0e02476f31adae5bac711da (patch)
treed44d1b58b024134e93aff30ea2743674dafa2308 /mkosi.conf
parentjournal: Add journal.storage credential (diff)
downloadsystemd-c89244842bf0b050b0e02476f31adae5bac711da.tar.xz
systemd-c89244842bf0b050b0e02476f31adae5bac711da.zip
test: Don't persist journal in mkosi image if we're not debugging tests
If we're not debugging tests, there's no point in persisting the journal, so let's use the volatile journal storage mode in that case to avoid doing unnecessary work. We don't disable journal storage alltogether since various tests check that stuff is written to the journal.
Diffstat (limited to 'mkosi.conf')
-rw-r--r--mkosi.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkosi.conf b/mkosi.conf
index d6bf53ee46..0f2705f5fc 100644
--- a/mkosi.conf
+++ b/mkosi.conf
@@ -37,6 +37,7 @@ KernelCommandLine=systemd.crash_shell
SYSTEMD_ENABLE_LOG_CONTEXT=yes
[Host]
+Credentials=journal.storage=persistent
@Incremental=yes
@RuntimeBuildSources=yes
@QemuSmp=2