firstboot: synchronously wait for systemd-vconsole-setup.service/restart job
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 May 2023 10:26:37 +0000 (12:26 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 May 2023 13:07:01 +0000 (15:07 +0200)
commit8eb668b9ab2f7627a89c95ffd61350ee9d416da1
treebfca4213af002b0270f690ec29b80403037aa10d
parenta27f2532762c000aea3aeeb837d3523dab82dcb8
firstboot: synchronously wait for systemd-vconsole-setup.service/restart job

Requested in https://github.com/systemd/systemd/pull/27755#pullrequestreview-1443489520.

I dropped the info message about the job being requested, because we get
fairly verbose logs from starting the unit, and the additional message isn't
useful.

In the unit, the ordering before systemd-vconsole-setup.service is dropped,
because now it needs to happen in parallel, while systemd-firstboot.service
is running. This means that we may potentially execute vconsole-setup twice,
but it's fairly quick, so this doesn't matter much.
src/firstboot/firstboot.c
units/systemd-firstboot.service