mirror of
https://github.com/systemd/systemd
synced 2024-10-02 22:37:25 +00:00
units/systemd-firstboot: start the service after systemd-vconsole-setup.service
This way, we don't start user interaction before (or while) the configured fonts are loading. Tweak the comments a bit while at it.
This commit is contained in:
parent
3b2321f6ea
commit
6cfb3ebc60
|
@ -32,14 +32,17 @@
|
||||||
<refsect1>
|
<refsect1>
|
||||||
<title>Description</title>
|
<title>Description</title>
|
||||||
|
|
||||||
<para><filename>systemd-vconsole-setup</filename> sets up and configures either all virtual consoles, or — if the
|
<para><filename>systemd-vconsole-setup</filename> sets up and configures either all virtual consoles, or
|
||||||
optional <replaceable>TTY</replaceable> parameter is provided — a specific one. When the system is booting up, it's
|
— if the optional <replaceable>TTY</replaceable> parameter is provided — a specific one. When the system
|
||||||
called by <citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry> during
|
is booting up, <filename>systemd-vconsole-setup.service</filename> is called by
|
||||||
VT console subsystem initialization. Also,
|
<citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry> during
|
||||||
<citerefentry><refentrytitle>systemd-localed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> invokes
|
VT console subsystem initialization. Also,
|
||||||
it as needed when language or console changes are made. Internally, this program calls <citerefentry
|
<citerefentry><refentrytitle>systemd-localed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
||||||
project='mankier'><refentrytitle>loadkeys</refentrytitle><manvolnum>1</manvolnum></citerefentry> and <citerefentry
|
invokes it as needed when language or console changes are made.
|
||||||
project='die-net'><refentrytitle>setfont</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
|
Internally, this program calls
|
||||||
|
<citerefentry project='mankier'><refentrytitle>loadkeys</refentrytitle><manvolnum>1</manvolnum></citerefentry>
|
||||||
|
and
|
||||||
|
<citerefentry project='die-net'><refentrytitle>setfont</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>Execute <command>systemctl restart systemd-vconsole-setup.service</command> in order to apply any manual
|
<para>Execute <command>systemctl restart systemd-vconsole-setup.service</command> in order to apply any manual
|
||||||
|
|
|
@ -15,7 +15,14 @@ ConditionPathIsReadWrite=/etc
|
||||||
ConditionFirstBoot=yes
|
ConditionFirstBoot=yes
|
||||||
|
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
After=systemd-remount-fs.service systemd-sysusers.service systemd-tmpfiles-setup.service
|
# This service may need to write to the file system:
|
||||||
|
After=systemd-remount-fs.service
|
||||||
|
# Both systemd-sysusers and systemd-tmpfiles may create the root account
|
||||||
|
# (via factory files or credentials), obviating the need for us to do that:
|
||||||
|
After=systemd-sysusers.service systemd-tmpfiles-setup.service
|
||||||
|
# Let vconsole-setup do its setup before starting user interaction:
|
||||||
|
After=systemd-vconsole-setup.service
|
||||||
|
|
||||||
Wants=first-boot-complete.target
|
Wants=first-boot-complete.target
|
||||||
Before=first-boot-complete.target sysinit.target
|
Before=first-boot-complete.target sysinit.target
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
|
|
Loading…
Reference in a new issue