Run subiquity on any serial consoles that the user told systemd about.

ubuntu/cosmic 2.494
Adam Conrad 7 years ago
commit c2edf57a3f

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.494) bionic; urgency=medium
* Run subiquity on any serial consoles that the user told systemd
about.
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Wed, 31 Jan 2018 21:58:33 +1300
livecd-rootfs (2.493) bionic; urgency=medium livecd-rootfs (2.493) bionic; urgency=medium
* Set a default archive mirror - needed for germinate. * Set a default archive mirror - needed for germinate.

@ -0,0 +1,2 @@
[Service]
ExecStartPre=/bin/systemctl start serial-subiquity@%i.service

@ -0,0 +1,23 @@
[Unit]
Description=Subiquity, the installer for Ubuntu Server %I
BindsTo=dev-%i.device
After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
After=rc-local.service
ConditionPathExists=!/run/subiquity/complete
StartLimitInterval=0
[Service]
Environment=PYTHONPATH=/usr/share/subiquity
ExecStartPre=/bin/systemctl stop serial-getty@%I
ExecStart=/sbin/agetty -n --keep-baud -l /snap/bin/subiquity --login-options "--serial" 115200,38400,9600 %I $TERM
ExecStopPost=/bin/systemctl start serial-getty@%I
Type=idle
Restart=always
RestartSec=0
UtmpIdentifier=%I
TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
KillMode=process
IgnoreSIGPIPE=no
SendSIGHUP=yes

@ -22,9 +22,3 @@ TTYVTDisallocate=yes
KillMode=process KillMode=process
IgnoreSIGPIPE=no IgnoreSIGPIPE=no
SendSIGHUP=yes SendSIGHUP=yes
#KillMode=process
#Restart=always
#StandardInput=tty-force
#StandardOutput=tty
#StandardError=tty

@ -26,9 +26,3 @@ TTYVTDisallocate=yes
KillMode=process KillMode=process
IgnoreSIGPIPE=no IgnoreSIGPIPE=no
SendSIGHUP=yes SendSIGHUP=yes
#KillMode=process
#Restart=always
#StandardInput=tty-force
#StandardOutput=tty
#StandardError=tty

Loading…
Cancel
Save