7fa1256bc6
- Drop explicit dependency on sysroot.mount. Instead, handle starting and stopping of the unit explicitly to avoid conflicts. - Add workaround for gh#systemd/systemd#20329 OBS-URL: https://build.opensuse.org/request/show/908900 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/combustion?expand=0&rev=21
36 lines
973 B
Desktop File
36 lines
973 B
Desktop File
[Unit]
|
|
Description=Combustion
|
|
DefaultDependencies=false
|
|
|
|
ConditionKernelCommandLine=|ignition.firstboot
|
|
ConditionKernelCommandLine=|combustion.firstboot
|
|
|
|
# /sysroot needs to be available, but it's temporarily stopped
|
|
# for remounting so a direct requirement is not possible
|
|
Requires=initrd-root-device.target
|
|
After=initrd-root-device.target
|
|
|
|
# combustion-prepare sets up network, if required
|
|
Requires=combustion-prepare.service
|
|
After=combustion-prepare.service
|
|
|
|
# Optionally make network available
|
|
After=network.target
|
|
|
|
# After ignition completed its stuff
|
|
After=ignition-complete.target
|
|
|
|
# So that /etc/fstab's x-initrd.mount entries are read (again) later
|
|
Before=initrd-parse-etc.service
|
|
|
|
Conflicts=initrd-switch-root.target umount.target
|
|
Conflicts=dracut-emergency.service emergency.service emergency.target
|
|
|
|
# Without this it goes into an endless loop on failure
|
|
OnFailure=emergency.target
|
|
OnFailureJobMode=isolate
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/combustion
|