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

26 lines
697 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Mount citadel rootfs in install/live mode
DefaultDependencies=no
# Only run in initramfs
ConditionPathExists=/etc/initrd-release
# Only run in install or live mode
ConditionKernelCommandLine=|citadel.install
ConditionKernelCommandLine=|citadel.live
# Only run if root is set to this exact path
ConditionKernelCommandLine=root=/dev/mapper/rootfs
2019-08-21 04:46:12 +00:00
Wants=citadel-rootfs-setup.service
2019-01-15 17:29:02 +00:00
Requires=systemd-sysctl.service
After=systemd-sysctl.service
Before=citadel-rootfs-setup.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStartPre=-/usr/bin/plymouth message --text="Copying files from boot disk and decompressing rootfs image"
ExecStart=/usr/libexec/citadel-boot rootfs