[FFe] List and install OEM enablement packages

Bug #1866035 reported by Iain Lane
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Won't Fix
Undecided
Unassigned
ubiquity (Ubuntu)
Fix Released
Undecided
Unassigned
ubuntu-drivers-common (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[ Description ]

We have a project underway at the minute to install any hardware-specific tweaks that are needed for the currently running machine, and to select a different kernel on those machines: the OEM kernel. This requires changes in grub, ubiquity and ubuntu-drivers common. We'd like to land those changes.

grub
====

On a live session, construct a DMI modalias and match it against the packages on the CD to see if we need to boot the OEM kernel.

ubuntu-drivers-common
=====================

List the oem-*meta packages which apply to the running machine, and install those with 'install'.

ubiquity
========

Use the information that ubuntu-drivers provides to show some UI if there is a matching package, and also install the package if the user selects it.

[ Testing ]

We have a package "oem-qemu-meta" in Focal which you can use to test this inn a VM. If you're using libvirt, edit the XML for a Focal VM and add

In the <os> section: <smbios mode='sysinfo'/>

Under <domain>:

  <sysinfo type='smbios'>
    <system>
      <entry name='product'>UBUNTUQEMUTEST</entry>
    </system>
  </sysinfo>

Iain Lane (laney)
summary: - [FFe] List OEM enablement packages
+ [FFe] List and install OEM enablement packages
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote :

+1 for the FFe.

I would expect this framework to be landed by beta.

Changed in grub2 (Ubuntu):
status: New → Confirmed
Changed in ubiquity (Ubuntu):
status: New → Confirmed
Changed in ubuntu-drivers-common (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-drivers-common - 1:0.8

---------------
ubuntu-drivers-common (1:0.8) focal; urgency=medium

  [ Iain Lane ]
  * tests:
    - Rename ubuntu_drivers.py to test_ubuntu_drivers.py.
  * UbuntuDrivers/detect.py:
    - Update oem-*-meta packages after we install them.
    - Offer oem-*-meta for installation with "ubuntu-drivers install".
    - Check for 'Modaliases' first when building modalias -> package map.
  * ubuntu-drivers:
    - Add a new 'list-oem' command.
    - Add a --no-oem flag.
    - Allow installing device specific metapackages (LP: #1866035).

 -- Alberto Milone <email address hidden> Thu, 05 Mar 2020 17:06:28 +0100

Changed in ubuntu-drivers-common (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 20.04.7

---------------
ubiquity (20.04.7) focal; urgency=medium

  [ Sebastien Bacher ]
  * debian/control:
    - don't build-depends on xkb-data-i18n which has been merged back
      to xkb-data now

  [ Hugh Chao ]
  * Add a preseed option which can let oem project reboot before OOBE i
    (LP: #1867711)

  [ Rik Mills ]
  * bin/ubiquity-dm: Switch the default KDE Plasma wallpaper looked for
    from .png to .jpg, as Plasma 5.18 switched default extension for
    that release. Fixes no background on the Try/Install screen for
    Kubuntu. (LP: #1863073)

  [ Iain Lane ]
  * In GNOME 3.36 the `gnome-session-x11-services.target` unit gained some
    dependencies that aren't satisfied in the ubiquity-dm environment. So
    GNOME Shell starting up this unit doesn't work any more: go back to the
    old way of starting it directly. (LP: #1869331)
  * ubiquity-dm: gnome-settings-daemon binaries have moved under /usr/libexec
    and adjust the paths accordingly.
  * ubiquity.json: Specify the path to the new theme GResource used by GNOME
    Shell
  * simple-plugins: Clean up the ubuntu-drivers.autoinstall file before each
    run. This file is only ever appended to. The list is computed (passing
    --free-only and/or --no-oem) when leaving the prepare page. So we
    currently have the situation that if you revisit the page after having
    left it, the file is not updated with any new choices but is only appended
    to. Make sure it is written fresh each time, by removing it before running
    ubuntu-drivers.
  * prepare: Detect whether there are OEM enablement package for the system.
    Record this so that it can be used later on when actually installing.
    Installation can be disabled by preseeding ubiquity/install_oem.
  * plugininstall: If we've installed any OEM metapackages, update & upgrade them.
    This is the same as what `ubuntu-drivers autoinstall' is doing. We need
    this to try to ensure that the metapackage is upgraded in the target -
    if we're online when installing. (LP: #1866035)

  [ Jean-Baptiste Lallement ]
  * Updated changelog
  * Automatic update of included source packages: console-setup
    1.194ubuntu3.

 -- Iain Lane <email address hidden> Mon, 30 Mar 2020 12:46:20 +0100

Changed in ubiquity (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

Was there still work to be done on this bug in the grub2 package?

Changed in grub2 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Iain Lane (laney) wrote :

The grub2 work was descoped.

Changed in grub2 (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.