diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-30 14:29:14 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-30 15:20:55 +0200 |
commit | c89244842bf0b050b0e02476f31adae5bac711da (patch) | |
tree | d44d1b58b024134e93aff30ea2743674dafa2308 /mkosi.conf | |
parent | journal: Add journal.storage credential (diff) | |
download | systemd-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.conf | 1 |
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 |