yast2-installation/YaST2-Firstboot.service
YaST Team Bot ebc91be2eb - Firstboot.service: Shutdown on failure preventing the service to
hang because of a systemd dependency when trying to call halt
  directly from the firsboot clients (bsc#1095253)
- 4.1.2

- Fixed possibly broken system after aborting upgrade running
  over SSH (caused by a partially finished rollback) (bsc#1089643)

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-installation?expand=0&rev=964
2018-06-12 15:34:03 +00:00

23 lines
724 B
Desktop File

[Unit]
Description=YaST2 Firstboot
After=apparmor.service local-fs.target plymouth-start.service YaST2-Second-Stage.service
Conflicts=plymouth-start.service
Before=getty@tty1.service serial-getty@ttyS0.service serial-getty@ttyS1.service serial-getty@ttyS2.service
Before=display-manager.service
ConditionPathExists=/var/lib/YaST2/reconfig_system
OnFailure=shutdown.target
[Service]
Type=oneshot
Environment=TERM=linux
ExecStartPre=-/usr/bin/plymouth quit
ExecStart=/usr/lib/YaST2/startup/YaST2.Firstboot
ExecStartPost=/usr/bin/rm -f /var/lib/YaST2/reconfig_system
ExecStartPost=/usr/bin/systemctl restart systemd-vconsole-setup.service
TimeoutSec=0
RemainAfterExit=true
StandardInput=tty
[Install]
WantedBy=default.target