[Bug 2109822] Re: Add support for building ARM64 images with nvidia kernels in noble

Antoine Lassagne 2109822 at bugs.launchpad.net
Tue Jun 17 15:21:31 UTC 2025


I see that Michael approved and merged the ubuntu/devel branch. Now,
about the noble branch that comes next, I can put back some information:

An arm64+nvidia build for noble (the hardware enablement target): https://launchpad.net/~antoinelassagne/+livefs/ubuntu/noble/test/+build/798671
recipe: start-livefs-build --livefs=~antoinelassagne/+livefs/ubuntu/noble/test \
                    --ppa=~antoinelassagne/ubuntu/sru-livecd-spark \
                     --arch=arm64 --project=ubuntu \
       --metadata extra_ppas='["canonical-kernel-team/proposed"]' \
       --metadata subarch=nvidia \
       --metadata debug="True"

A 'standard'arm64 build for noble (non regression test): https://launchpad.net/~antoinelassagne/+livefs/ubuntu/noble/test/+build/799863
recipe: start-livefs-build --livefs=~antoinelassagne/+livefs/ubuntu/noble/test \
                     --ppa=~antoinelassagne/ubuntu/sru-livecd-spark \
                     --arch=arm64 --project=ubuntu \
       --metadata extra_ppas='["canonical-kernel-team/proposed"]' \
       --metadata debug="True"


Everything works as expected. I downloaded the results and built the .iso, it works too. Note that it needs the pending merge proposal on debian-cd for the .iso generation step: https://code.launchpad.net/~antoinelassagne/debian-cd/+git/debian-cd/+merge/485191

I also generated images with server as in the test plan, can run it
again if it's require before going to proposed.

-- 
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 ]

   * This is a hardware enablement SRU.

   * 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
   6. Redo all these steps with Live Server image

  [ 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.

  [ Other Info ]

   * The kernel that are made available with this fixed are only
  released on LTS series right now. To test it on non LTS series, we'd
  have to package the kernel into a private PPA before.

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