]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: Don't persist journal in mkosi image if we're not debugging tests
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 30 Apr 2024 12:29:14 +0000 (14:29 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 30 Apr 2024 13:20:55 +0000 (15:20 +0200)
commitc89244842bf0b050b0e02476f31adae5bac711da
treed44d1b58b024134e93aff30ea2743674dafa2308
parent123450e58eeb5dfc539cd0f71c85d2b9e0ed0851
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.
mkosi.conf
mkosi.images/system/mkosi.extra/usr/lib/systemd/journald.conf.d/50-persistent.conf [deleted file]
test/integration-test-wrapper.py