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