mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08: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
|
||||
|
||||
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
|
||||
Before=first-boot-complete.target sysinit.target
|
||||
Conflicts=shutdown.target
|
||||
|
Loading…
Reference in New Issue
Block a user