[Bug 1895351] Re: prepare plugin does not run in automatic mode
Launchpad Bug Tracker
1895351 at bugs.launchpad.net
Tue Jan 26 00:37:19 UTC 2021
This bug was fixed in the package ubiquity - 21.04.6
---------------
ubiquity (21.04.6) hirsute; urgency=medium
* Revert "BD on iproute2" There's a mock 'ip' command which is supposed to
be used actually.
* Append _fn to netcfg mock_path name. This is actually why the mock 'ip'
command wasn't being found. The check library now generates the testcase
with `_fn` appended, so we need to rename our directory to follow suit.
-- Iain Lane <iain.lane at canonical.com> Mon, 25 Jan 2021 19:02:50 +0000
** Changed in: ubiquity (Ubuntu Hirsute)
Status: Fix Committed => Fix Released
--
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:
In Progress
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