diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-05-14 09:55:57 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-05-18 20:17:57 +0200 |
commit | f8b4ae29c74abbabecb8a109689771a2a6ff6a5f (patch) | |
tree | dc2e2c78927cb1ed8a0b1115498588b47ef923f9 /man/systemd.unit.xml | |
parent | 3931056767acb5c44721a9f0870135646b39b70e (diff) | |
download | systemd-f8b4ae29c74abbabecb8a109689771a2a6ff6a5f.tar.gz |
condition: allow overriding of ConditionNeedsUpdate= on the kernel command line
This should be useful for addressing #15724.
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r-- | man/systemd.unit.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index b91c1ad0ec..e8563bcc0a 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1294,6 +1294,13 @@ <citerefentry><refentrytitle>systemd-update-done.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, to make sure they run before the stamp file's modification time gets reset indicating a completed update.</para> + + <para>If the <varname>systemd.condition-needs-update=</varname> option is specified on the kernel + command line (taking a boolean), it will override the result of this condition check, taking + precedence over any file modification time checks. If it is used + <filename>systemd-update-done.service</filename> will not have immediate effect on any following + <varname>ConditionNeedsUpdate=</varname> checks, until the system is rebooted where the kernel + command line option is not specified anymore.</para> </listitem> </varlistentry> |