[Bug 2109822] Re: Add support for building ARM64 images with nvidia kernels in noble
Antoine Lassagne
2109822 at bugs.launchpad.net
Thu May 22 11:47:33 UTC 2025
Hi,
I built this branch and I am testing it right now. This is tricky,
because the branch allow to pick nvidia-dedicated kernel that do not
exist in Questing's PPAs. I am discussing with the kernel team to find a
solution.
About the channel. I used it to tune the kernel flavour, and allow for
example to pick `nvidia-hwe-24.04-edge` instead of `nvidia-hwe-24.04`.
I'm not familiar with the codebase and if I used the wrong variable, I
can change it or even add a dedicated one.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2109822
Title:
Add support for building ARM64 images with nvidia kernels in noble
Status in livecd-rootfs package in Ubuntu:
In Progress
Bug description:
[ Impact ]
* In partner engineering, we maintain specific nvidia hardware which require a dedicated optimized kernel. We need to build Desktop images for these machines, on a regular basis, to run the certification suites.
Right now the kernel we need is `linux-nvidia-hwe-24.04-edge`, but I'm anticipating that it will be `linux-nvidia-hwe-24.04` at some point so this should be possible to configure.
* The resolution involves adding a subarchitecture (SUBARCH) option
in Desktop images which, when provided, will behave accordingly. a
CHANNEL option can also be provided to add the channel.
[ Test Plan ]
1. Create a Desktop ISO. It will contain the generic kernel.
2. Create a Desktop ISO with the proposed package. It will contain the generic kernel too.
3. Create a Desktop ISO after mentioning subarch=nvidia in the metadatas. The kernel should now be nvidia's.
4. Create a Desktop ISO after mentioning subarch=nvidia in the metadatas. The kernel should now be nvidia's edge.
5. Build the images from 3, 4, 5 with ubuntu-cdimage and test that they boot correctly and have the right kernel.
Please not that the debian-cd branch to be used it the following merge proposal: https://code.launchpad.net/~antoinelassagne/debian-cd/+git/debian-cd/+merge/485191
[ Where problems could occur ]
* If the bash scripts becomes invalid or go in the wrong branch, the
image build process could simply stop working, or provide images with
the wrong kernel. The test plan reflects this risk.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2109822/+subscriptions
More information about the foundations-bugs
mailing list