2018-03-03 21:37:48 -05:00
|
|
|
[Unit]
|
2018-12-31 18:41:27 -05:00
|
|
|
Description=Create rootfs device with citadel-mount rootfs
|
|
|
|
DefaultDependencies=no
|
2018-03-03 21:37:48 -05:00
|
|
|
|
2018-12-31 18:41:27 -05:00
|
|
|
#
|
|
|
|
# Only run after all partitions have been discovered
|
|
|
|
#
|
2018-03-27 21:48:58 -04:00
|
|
|
ConditionPathExists=/dev/mapper/citadel-rootfsA
|
|
|
|
ConditionPathExists=/dev/mapper/citadel-rootfsB
|
|
|
|
ConditionPathExists=/dev/mapper/citadel-storage
|
|
|
|
|
2018-12-31 18:41:27 -05:00
|
|
|
#
|
2019-01-06 18:20:41 -05:00
|
|
|
# Pull in the unit that mounts 'extra' and 'kernel' images
|
2018-12-31 18:41:27 -05:00
|
|
|
#
|
|
|
|
Wants=citadel-rootfs-setup.service
|
|
|
|
|
|
|
|
#
|
|
|
|
# citadel-mount needs to run in pax soft mode
|
|
|
|
#
|
|
|
|
Requires=systemd-sysctl.service
|
|
|
|
After=systemd-sysctl.service
|
|
|
|
|
2018-03-03 21:37:48 -05:00
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2018-03-27 21:48:58 -04:00
|
|
|
RemainAfterExit=yes
|
2018-12-31 18:41:27 -05:00
|
|
|
ExecStart=/usr/libexec/citadel-mount rootfs
|