~mwhudson/ubiquity:lp-1789920-bionic

Last commit made on 2018-10-18
Get this branch:
git clone -b lp-1789920-bionic https://git.launchpad.net/~mwhudson/ubiquity
Only Michael Hudson-Doyle can upload to this branch. If you are Michael Hudson-Doyle please log in for upload directions.

Branch merges

Branch information

Name:
lp-1789920-bionic
Repository:
lp:~mwhudson/ubiquity

Recent commits

9f90f5c... by Michael Hudson-Doyle

Mask ubiquity.service in a system installed with oem-config/enabled=true, as this prevents <email address hidden> from running. (LP: #1789920)

dbf74d9... by Michael Hudson-Doyle

releasing package ubiquity version 18.04.14.8

98acd65... by Michael Hudson-Doyle

releasing package ubiquity version 18.04.14.7

035bee6... by Michael Hudson-Doyle

add systemd-resolved to oem-config.target's Wants

Not having resolved running during oem-config results in /etc/resolv.conf
being a 0-byte file. For https://bugs.launchpad.net/bugs/1777900

c354820... by Adam Conrad

Add changelog entry for Dariusz's debconf_ui fixes.

a4ff36d... by Dariusz Gadomski

Implement missing methods for debconf_ui wizard.

During scenario described in LP: #1749289 a do_reboot call is executed.
This method is not implemented and leads to a system freeze due to
living the configuration in an unfinished state.

247b287... by Adam Conrad

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

This reverts commit 45b45962049c02cc9a36e1ec4d683772b6d418b9.

45b4596... 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

b8120ed... by Adam Conrad

Automatic update of included source packages: console-setup 1.178ubuntu2.3, localechooser 2.71ubuntu3.

94230e2... by Mathieu Trudel-Lapierre

releasing package ubiquity version 18.04.14.5