2018-12-31 18:41:27 -05:00
|
|
|
[Unit]
|
|
|
|
Description=Set up citadel for install/live boot
|
|
|
|
DefaultDependencies=no
|
|
|
|
Conflicts=shutdown.target
|
|
|
|
After=sysroot.mount citadel-rootfs-setup.service
|
2019-01-03 10:47:14 -05:00
|
|
|
Requires=sysroot.mount citadel-rootfs-setup.service
|
2018-12-31 18:41:27 -05:00
|
|
|
Before=initrd-root-fs.target shutdown.target
|
|
|
|
AssertPathExists=/etc/initrd-release
|
|
|
|
|
|
|
|
# Only run in install or live modes
|
|
|
|
ConditionKernelCommandLine=|citadel.install
|
|
|
|
ConditionKernelCommandLine=|citadel.live
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2019-01-15 14:13:56 -05:00
|
|
|
ExecStartPre=-/usr/bin/plymouth message --text="Setting up filesystem in RAM for live boot"
|
2018-12-31 18:41:27 -05:00
|
|
|
ExecStart=/usr/libexec/citadel-install live-setup
|
2019-01-15 14:13:56 -05:00
|
|
|
ExecStartPost=-/usr/bin/plymouth message --text="Starting desktop"
|