~dgadomski/ubiquity:lp1749289-a

Last commit made on 2018-08-01
Get this branch:
git clone -b lp1749289-a https://git.launchpad.net/~dgadomski/ubiquity
Only Dariusz Gadomski can upload to this branch. If you are Dariusz Gadomski please log in for upload directions.

Branch merges

Branch information

Name:
lp1749289-a
Repository:
lp:~dgadomski/ubiquity

Recent commits

78fa32a... by Dariusz Gadomski

Prevent exitting the installer by using the 'Cancel' option.

This is to prevent a system freeze after cancelling the first
page during first boot after performing oem config.

663e20d... by Dariusz Gadomski

Revert "Fixes a systemd freeze after cancelling debconf UI."

This reverts commit 1c8420a2206ef998475cbfd458475ba6b1781fea.

1c8420a... by Dariusz Gadomski

Fixes a systemd freeze after cancelling debconf UI.

When using systemd and performing a oem installation using a debconf_ui
frontend there is a scenario requiring a reboot to continue (more details
at LP: #1749289).

There were several causes for this:
* bin/oem-config-firstboot - 'set -e' had to be removed, because otherwise
    the script was terminated and no exit code check was done so
    code 10 return from oem-config-wrapper was not handled in the if block.
* bin/ubiquity cancelling the installation returned a code 10,
    which then lead to performing a wizard.do_reboot(). This method
    was not implemented for the debconf frontend. This caused an exception
    and exiting the process with code 1.
    Moreover, stealing the terminal control with the termios.TIOCSCTTY
    made doing input/output in oem-config-firstboot impossible, so even
    after falling into if [ $CODE -eq 10 ] block nothing was presented
    to the user.

After fixing the above issues user is presented with 3 options: to try again,
launch a shell or reboot (as originally intended in the code).

LP: #1749289

cdb7dbe... by Adam Conrad

d-i/sources.list: Always include *-updates, so it doesn't need to be fixed on stable branches for the first SRU every single time.

40866d1... by Łukasz Zemczak

Add bug number

a6a3cb1... by Łukasz Zemczak

Automatic update of included source packages: partman-auto 134ubuntu9, partman-efi 71ubuntu3.

e651144... by Łukasz Zemczak

releasing package ubiquity version 18.10.5

8a091c3... by Łukasz Zemczak

Automatic update of included source packages: grub-installer 1.128ubuntu11.

2e53c89... by Mathieu Trudel-Lapierre

releasing package ubiquity version 18.10.4

cfae499... by Mathieu Trudel-Lapierre

Automatic update of included source packages: grub-installer 1.128ubuntu9.