2020-03-04 10:32:28 |
Iain Lane |
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.
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> |
[ 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> |
|