]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: change assert to condition to skip running in initrd/os
authorLuca Boccassi <bluca@debian.org>
Wed, 8 Feb 2023 23:06:27 +0000 (23:06 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 9 Feb 2023 12:04:21 +0000 (12:04 +0000)
commit7ef09e2099a4f97ad40748d6b7c735b45aa4c990
treec1e92adc56c8c15352f4ee7ae07847938d6adc5c
parent3b42ffe590c5728af50feb138890a44264c4b02e
units: change assert to condition to skip running in initrd/os

These units are also present in the initrd, so instead of an assert,
just use a condition so they are skipped where they need to be skipped.

Fixes https://github.com/systemd/systemd/issues/26358
units/systemd-pcrfs-root.service.in
units/systemd-pcrfs@.service.in
units/systemd-pcrmachine.service.in
units/systemd-pcrphase-initrd.service.in
units/systemd-pcrphase-sysinit.service.in
units/systemd-pcrphase.service.in