]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: avoid infinite reboot on failure
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 29 Sep 2025 12:58:36 +0000 (21:58 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Oct 2025 08:29:38 +0000 (10:29 +0200)
commitd526ab8a9aa74798e453dabf8c55636305238110
treec90d288084d523a327f7459caec18aa0e3fa45d8
parent7ae7c014c37ba1cc7948c1ab2db8a79091bb2cc0
mkosi: avoid infinite reboot on failure

If systemd-pcrphase-initrd.service and friends failed for some reasons,
the test VM will reboot infinitely and the test will timeout. Let's
propagate the failure to the host and fail the test earlier in that case.
mkosi/mkosi.extra.common/usr/lib/systemd/system/systemd-pcrphase-factory-reset.service.d/exit-on-failure.conf [new file with mode: 0644]
mkosi/mkosi.extra.common/usr/lib/systemd/system/systemd-storagetm.service.d/exit-on-failure.conf [new file with mode: 0644]
mkosi/mkosi.extra.common/usr/lib/systemd/system/systemd-validatefs@.service.d/exit-on-failure.conf [new file with mode: 0644]
mkosi/mkosi.extra/usr/lib/systemd/system/systemd-pcrfs-root.service.d/exit-on-failure.conf [new file with mode: 0644]
mkosi/mkosi.extra/usr/lib/systemd/system/systemd-pcrfs@.service.d/exit-on-failure.conf [new file with mode: 0644]
mkosi/mkosi.extra/usr/lib/systemd/system/systemd-pcrphase-sysinit.service.d/exit-on-failure.conf [new file with mode: 0644]
mkosi/mkosi.extra/usr/lib/systemd/system/systemd-pcrphase.service.d/exit-on-failure.conf [new file with mode: 0644]
mkosi/mkosi.images/initrd/mkosi.extra/usr/lib/systemd/system/systemd-pcrphase-initrd.service.d/exit-on-failure.conf [new file with mode: 0644]
mkosi/mkosi.images/initrd/mkosi.extra/usr/lib/systemd/system/systemd-pcrphase-storage-target-mode.service.d/exit-on-failure.conf [new file with mode: 0644]