citadel/meta-citadel/recipes-initrd/citadel-initramfs/files/citadel-rootfs-mount.service

29 lines
644 B
Desktop File

[Unit]
Description=Create rootfs device with citadel-mount rootfs
DefaultDependencies=no
#
# Only run after all partitions have been discovered
#
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
RemainAfterExit=yes
ExecStart=/usr/libexec/citadel-boot rootfs