summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorHarald Seiler <hws@denx.de>2020-09-06 21:23:36 +0200
committerHarald Seiler <hws@denx.de>2020-10-19 16:28:22 +0200
commitf4466bdbf9c39e9b303809f93c04a80795606503 (patch)
treec4fea7954df3a7dbcd9d66ce88533e427295512b /man
parentc261a5d01469a3f5b6c448c066ea7ad6d14a5300 (diff)
downloadsystemd-f4466bdbf9c39e9b303809f93c04a80795606503.tar.gz
units: add first-boot-complete.target for first boot ordering
Add a new target for synchronizing units that wish to run once during the first boot of the system. The machine-id will be committed to disk only after the target has been reached, thus ensuring that all units ordered before it had a chance to complete.
Diffstat (limited to 'man')
-rw-r--r--man/systemd.special.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/systemd.special.xml b/man/systemd.special.xml
index e43d765c9f..1434ead7d5 100644
--- a/man/systemd.special.xml
+++ b/man/systemd.special.xml
@@ -32,6 +32,7 @@
<filename>emergency.target</filename>,
<filename>exit.target</filename>,
<filename>final.target</filename>,
+ <filename>first-boot-complete.target</filename>,
<filename>getty.target</filename>,
<filename>getty-pre.target</filename>,
<filename>graphical.target</filename>,
@@ -879,6 +880,17 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><filename>first-boot-complete.target</filename></term>
+ <listitem>
+ <para>This passive target is intended as a synchronization point for units that need to run once
+ during the first boot. Only after all units ordered before this target have finished, will the
+ <citerefentry><refentrytitle>machine-id</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ be committed to disk, marking the first boot as completed. If the boot is aborted at any time
+ before that, the next boot will re-run any units with <varname>ConditionFirstBoot=yes</varname>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><filename>getty-pre.target</filename></term>
<listitem>
<para>A special passive target unit. Users of this target