Support post install enablement of OEM-enabled devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Undecided
|
Julian Andres Klode | ||
Focal |
Fix Released
|
Undecided
|
Julian Andres Klode | ||
update-notifier (Ubuntu) |
Fix Released
|
Undecided
|
Iain Lane | ||
Focal |
Fix Released
|
Undecided
|
Iain Lane |
Bug Description
[ Description ]
The Ubuntu installer (ubiquity), working together with ubuntu-drivers, will install an "OEM metapackage" for the platform being installed, if there is one which matches.
This means that if Canonical has performed enablement for a device, users will receive the same experience if they purchase hardware with Ubuntu preinstalled or if it has another OS and they later install Ubuntu.
However, if the hardware was enabled post-release and the user is offline when installing Ubuntu, the installer will not know that there is any enablement that it should install. Similarly if the enablement happens after Ubuntu has been installed. In these cases we need a way inside the installed session for the same enablement to be provided.
We're adding the capability for update-manager to install these packages. They themselves install a sources.list.d snippet referring to an "OEM archive" specific to the device, so update-manager needs to know to update (as in `apt update`) and then upgrade (`apt upgrade`) a second time after installing oem-foo-meta from the Ubuntu archive.
update-manager will be consuming a file provided by update-notifier to know if the device needs an oem metapackage or not.
NOTE NOTE NOTE NOTE NOTE NOTE: The OEM metapackages are LTS only, so the intention is that this change is effectively a no-op on hirsute. Therefore we are proposing NOT to SRU to groovy, as there is no chance of a regression for groovy users.
[ QA ]
= On a certified device =
1. Update the system to the latest without focal-proposed.
2. Enable focal-proposed, and then only install update-
3. Reboot the system, login the desktop and wait for a while.
The notification will pop up and it will show "Improved hardware support" on the certified machines that has the OEM metapackage support.
= On a non certified device =
1. Update the system to the latest without focal-proposed.
2. Enable focal-proposed, and then only install update-
3. Reboot the system, login the desktop and wait for a while.
The notification will pop up but it won't show "Improved hardware support" on non certified machines.
[ What could go wrong ]
In this update we rework transaction handling. If this is wrong, then the progress bar or terminal could stop working.
If there's a bug in the way we install / update / upgrade the OEM metapackages then we could break installing any update.
If we accidentally apply this logic to non OEM systems then we could break updating for everybody.
Related branches
description: | updated |
Changed in update-notifier (Ubuntu): | |
assignee: | nobody → Iain Lane (laney) |
Changed in update-notifier (Ubuntu Focal): | |
assignee: | nobody → Iain Lane (laney) |
Changed in update-manager (Ubuntu): | |
assignee: | nobody → Julian Andres Klode (juliank) |
Changed in update-manager (Ubuntu Focal): | |
assignee: | nobody → Julian Andres Klode (juliank) |
Changed in update-notifier (Ubuntu Focal): | |
status: | New → In Progress |
Changed in update-notifier (Ubuntu): | |
status: | New → Fix Released |
Changed in update-manager (Ubuntu Focal): | |
status: | New → In Progress |
Changed in update-manager (Ubuntu): | |
status: | New → Fix Committed |
description: | updated |
This bug was fixed in the package update-manager - 1:21.04.2
---------------
update-manager (1:21.04.2) hirsute; urgency=medium
* Make pycodestyle happy
* Make pyflakes happy, fixes a bug too
-- Julian Andres Klode <email address hidden> Mon, 14 Dec 2020 12:13:51 +0100