[Bug 2109822] Re: Add support for building ARM64 images with nvidia kernels in noble
Dan Bungert
2109822 at bugs.launchpad.net
Wed May 21 18:28:51 UTC 2025
Hi Antoine,
Yes, first this should land in questing to meet SRU requirements, so
first please set up a merge proposal against the ubuntu/master branch of
https://code.launchpad.net/livecd-rootfs, and when that is resolved
adequately a SRU can proceed.
When you do, can you clarify what's going on with the CHANNEL variable?
Normally that is controlling snap channels, so it would be valid to pass
any of stable, candidate, beta, edge or even something like
stable/ubuntu-$(release_ver), and using CHANNEL=edge means you're
grabbing snaps on the edge channel, which probably isn't what you want.
--
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