mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
units: order systemd-firstboot after systemd-tmpfiles-setup
We may copy files from factory to /etc. The default mkosi config has factory/etc/vconsole.conf. systemd-firstboot would race with tmpfiles-setup, and sometimes ask for the keymap, and sometimes not. I guess that if there are files in factory, we shouldn't ask the user for the same configuration.
This commit is contained in:
parent
8eb668b9ab
commit
b2ce20aa0c
|
@ -15,7 +15,7 @@ ConditionPathIsReadWrite=/etc
|
||||||
ConditionFirstBoot=yes
|
ConditionFirstBoot=yes
|
||||||
|
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
After=systemd-remount-fs.service systemd-sysusers.service
|
After=systemd-remount-fs.service systemd-sysusers.service systemd-tmpfiles-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