[Bug 1895351] Re: prepare plugin does not run in automatic mode

Ɓukasz Zemczak 1895351 at bugs.launchpad.net
Tue Jan 26 09:26:41 UTC 2021


Hello Mauricio, or anyone else affected,

Accepted ubiquity into focal-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/ubiquity/20.04.15.5 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubiquity (Ubuntu Focal)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1895351

Title:
  prepare plugin does not run in automatic mode

Status in ubiquity package in Ubuntu:
  Fix Released
Status in ubiquity source package in Focal:
  Fix Committed
Status in ubiquity source package in Groovy:
  Won't Fix
Status in ubiquity source package in Hirsute:
  Fix Released

Bug description:
  [Impact]

   * Currently ubiquity's prepare plugin, which installs the
     3rd party drivers, is not run at all in automatic mode.
     
   * This prevents automatic installation of such drivers
     (e.g., nvidia drivers) which are shipped / available
     in the ISOs now; and thus could actually be installed.

   * That causes additional network bandwidth consumption
     or additional steps to install them in offline cases.
     
  [Fix]

   * The MR allows the prepare plugin to run in automatic
     mode unconditionally in Hirsute and later, and Focal
     gets the 'ubiquity/prepare_automatic' preseed option
     to enable it (so not to change the default behavior.)

   * Now users can use the existing 'ubiquity/use_nonfree'
     preseed option to install 3rd party drivers while in
     automatic mode (i.e., with the 'automatic-ubiquity'
     option, or running 'ubiquity --automatic'.)

  [Test Case]

   * Boot the live installer with the 'automatic-ubiquity'
     option, or run 'ubiquity --automatic' in the shell.
     
   * Check whether the 'Updates and other software' page
     is listed or not.
     - Before: it is not.
     - After: 
       - Hirsute: it is.
       - Focal: according to 'ubiquity/prepare_automatic'.
       
   * The page can be automatically configured via preseed
     options, and be skipped with the key preseed option
     'ubiquity/use_nonfree'.

   * Then 3rd party drivers should be installer or not
     according to the option value and system hardware.

  [Where problems could occur]

   * Automatic installations that didn't configure the
     'ubiquity/use_nonfree' option configured will now
     block in the 'Updates and other software' page,
     waiting for input (in Hirsute and later) and thus
     need to have their preseed file/options updated.
     
   * In Focal that behavior doesn't change by default,
     and the users have to opt-in with the new option
     'ubiquity/prepare_automatic', so they are already
     updating the preseed file/options.

   * If there are any existing problems in the prepare
     plugin, they may now be exposed in automatic mode.
     However, since it runs by default in manual Desktop
     installs it's not expected to have any known issues.

   * If issues happen with the option enabled in Focal,
     users can opt-out with the new preseed option; and
     in Groovy (where it's not available), bug reports
     on it before release may be reported and addressed.

  [Other Info]
   
   * Hirsute and Focal are patched; Groovy is not because
     there are no more Desktop ISO spins planned (standard
     release) thus this patch is not effectively used on G.

  [Original Description]

  Currently the prepare plugin is just not run at all in automatic mode.

  But some users could benefit from it now that the ISOs ship with
  e.g., nvidia drivers, to install 3rd party drivers automatically
  during install, and not consume network bandwidth to download it.

  The MR introduces the 'ubiquity/prepare_automatic' preseed option
  to allow the prepare plugin to run in automatic mode (i.e. with
  the 'automatic-ubiquity' option / ubiquity --automatic)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1895351/+subscriptions



More information about the foundations-bugs mailing list