1
0
forked from brl/citadel
citadel/meta-citadel/recipes-initrd/citadel-initramfs/files/citadel-rootfs-mount.service

29 lines
644 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Create rootfs device with citadel-mount rootfs
DefaultDependencies=no
#
# 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
#
# Pull in the unit that mounts 'extra' and 'kernel' images
#
Wants=citadel-rootfs-setup.service
Before=citadel-rootfs-setup.service
#
# citadel-mount needs to run in pax soft mode
#
Requires=systemd-sysctl.service
After=systemd-sysctl.service
[Service]
KeyringMode=shared
Type=oneshot
2018-03-28 01:48:58 +00:00
RemainAfterExit=yes
ExecStart=/usr/libexec/citadel-boot rootfs