mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
units: order systemd-firstboot.service before first-boot-complete.target
Make sure systemd-firstboot completes before reaching first-boot-complete.target and thus marking the first boot as completed. This way, it is guaranteed that systemd-firstboot has a chance to complete provisioning at least once, even in cases of the first boot getting aborted early.
This commit is contained in:
parent
f4466bdbf9
commit
a1e3787148
@ -13,7 +13,8 @@ Documentation=man:systemd-firstboot(1)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=systemd-remount-fs.service
|
||||
Before=systemd-sysusers.service sysinit.target shutdown.target
|
||||
Before=systemd-sysusers.service sysinit.target first-boot-complete.target shutdown.target
|
||||
Wants=first-boot-complete.target
|
||||
ConditionPathIsReadWrite=/etc
|
||||
ConditionFirstBoot=yes
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user