sys-apps/ignition: ignition-files requires initrd-setup-root.service

ignition-files can do things like add users and ssh keys, we use
shadowutils to do this which requires a minimally setup root filesystem.

Since ignition-disks might completely wipe the root filesystem,
initrd-setup-root must run to get us boot-strapped.
This commit is contained in:
Vito Caputo 2015-08-24 18:26:00 -07:00
parent 82bc643428
commit c3674e3d1d
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,13 @@ After=initrd-root-fs.target
Requires=mnt-oem.mount
After=mnt-oem.mount
Requires=ignition-disks.service
After=ignition-disks.service
# setup the root filesystem before we try do things like create users on it.
Requires=initrd-setup-root.service
After=initrd-setup-root.service
# setup networking
Wants=initrd-systemd-networkd.service
After=initrd-systemd-networkd.service