add modalias for testing

Bug #1915145 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-460 (Ubuntu)
New
Undecided
Alberto Milone
Focal
New
Undecided
Unassigned
Groovy
Won't Fix
Undecided
Unassigned
Hirsute
New
Undecided
Alberto Milone

Bug Description

nvidia-graphics-drivers-460

[Impact]

 * To aid installer testing of the correct kernels with/without nvidia, it would be helpful to test nvidia driver installation in qemu VMs without actually needing nvidia hardware.

 * We already have `Modaliases: meta(dmi:*:pnUBUNTUQEMUTEST:*)` to test installs with oem-qemu-meta (aka certified install)

 * It would be useful to add nvidia modalias of `dmi:*:pvrUBUNTUNVIDIATEST:*` to nvidia-graphics-drivers-460

 * This way we will be able to test generic with/without nvidia; and oem with/without nvidia. By combinding pn & pvr dmi modaliases.

[Test Case]

 * Setup ubuntu qemu libvirt vm with dmi sysinfo setting product version to UBUNTUNVIDIATEST
I.e.
<sysinfo type="smbios">
  <system>
      <entry name="version">UBUNTUNVIDIATEST</entry>
  </system>
</sysinfo>
<os>
  ...
  <smbios mode="sysinfo"/>
</os>

 * Boot and execute ubuntu-drivers list

 * Observe that nvidia drivers show up as options.

[Where problems could occur]

 * Additional mod alias will be exposed in the package metadata, and whilst it will be installed it will not be loaded. It is purely an installer test interface.

Tags: patch
description: updated
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
description: updated
Changed in nvidia-graphics-drivers-460 (Ubuntu Hirsute):
assignee: nobody → Alberto Milone (albertomilone)
tags: added: patch
Revision history for this message
Brian Murray (brian-murray) wrote :

The Groovy Gorilla has reached end of life, so this bug will not be fixed for that release

Changed in nvidia-graphics-drivers-460 (Ubuntu Groovy):
status: New → 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.