[Bug 2091392] Re: [SRU] Jetson flavor for Core22 Tegra images

Rémy MARTIN 2091392 at bugs.launchpad.net
Thu Dec 19 17:36:30 UTC 2024


I have tested the jammy-proposed package by running the following
commands in a LXD 22.04 VM running on a ARM64 host:

sudo apt install livecd-rootfs/jammy-proposed
git clone https://git.launchpad.net/launchpad-buildd                                                                    
sudo apt install -y python3-requests python3-netaddr python3-pylxd                                                                      
sudo snap install ubuntu-image --classic                                                                                                                                                                                                                                        
sudo apt install live-build                                                                                                                                                                                                                                                     
cd launchpad-buildd                                                                                                                                                                                                                                                             
mkdir -p auto                                                                                                                           
for s in config build clean; do ln -s /usr/share/livecd-rootfs/live-build/auto/$s auto/; done                                                                                                                                                                                   
lb clean --purge                                                                                                                        
export IMAGEFORMAT=ubuntu-image CHANNEL=edge PROJECT=ubuntu-core ARCH=arm64 SUBARCH=tegra-jetson                                                                                                                                                                                
IMAGEFORMAT=ubuntu-image CHANNEL=edge PROJECT=ubuntu-core ARCH=arm64 SUBARCH=tegra-jetson SUITE=jammy lb config                         
lb build

As a result, the command builds a livecd.ubuntu-core-tegra-jetson.img.xz image as expected.
$ dpkg -l livecd-rootfs 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=========================================
ii  livecd-rootfs  2.765.54     arm64        construction script for the livecd rootfs

Full log on https://pastebin.ubuntu.com/p/vRBKTZ3xpS/

Thanks for reviewing that package SRU.

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
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/2091392

Title:
  [SRU] Jetson flavor for Core22 Tegra images

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Jammy:
  Fix Committed
Status in livecd-rootfs source package in Noble:
  Fix Committed
Status in livecd-rootfs source package in Oracular:
  Won't Fix

Bug description:
  [ Impact ]

   * This is an SRU bug for a trivial change to add a arm64+tegra-jetson
  entry to the list of supported subarches for Tegra.

  Ubuntu for Tegra jammy images are built using mostly standard cdimage/Launchpad/livecd-rootfs toolkit. For a while, we were focusing on arm64+tegra-igx as the target flavor both for Ubuntu Server 22.04 and for Ubuntu Core 22 images, but unfortunately have to decouple from this name as explained here:
  https://discourse.ubuntu.com/t/changes-to-ubuntu-for-tegra-kernel-metapackages-on-jetson-and-igx/48807

  The UC22 images were being built using the normal jammy livecd-rootfs and arm64+tegra-igx. The Server 22.04 images were built using ubuntu-image 3.x which wasn't supported in jammy's livecd-rootfs, so we're using an unmodified backport of the latest livecd-rootfs version from plucky to jammy that lives in this PPA:
  https://launchpad.net/~ubuntu-tegra/+archive/ubuntu/updates

  For UC22, we have these changes to the devel livecd-rootfs in plucky with version 25.04.4:
  https://launchpadlibrarian.net/760458882/livecd-rootfs_25.04.3_25.04.4.diff.gz
  NB: we've considered using a backport of this package as for classic images, but it defaults to UC24 and can't built UC22 anymore, so that wouldn't be adequate

  I've prepared the same changes to the jammy and noble branch in this PPA:
  https://launchpad.net/~rmartin013/+archive/ubuntu/livecd-rootfs-tegra-jetson

  [ Test Plan ]
   * Run the following commands on an arm64 machine installed with jammy
  cd ~
  sudo apt install ./livecd-rootfs_2.765.53_arm64.deb
  git clone https://git.launchpad.net/launchpad-buildd
  sudo apt install -y python3-requests python3-netaddr python3-pylxd
  sudo snap install ubuntu-image --classic
  sudo apt install live-build
  cd launchpad-buildd
  mkdir -p auto
  for s in config build clean; do ln -s /usr/share/livecd-rootfs/live-build/auto/$s auto/; done
  lb clean --purge
  export IMAGEFORMAT=ubuntu-image CHANNEL=edge PROJECT=ubuntu-core ARCH=arm64 SUBARCH=tegra-jetson
  IMAGEFORMAT=ubuntu-image CHANNEL=edge PROJECT=ubuntu-core ARCH=arm64 SUBARCH=tegra-jetson SUITE=jammy lb config
  lb build

   * Install the resulting image on a Jetson device and boot it

  [ Where problems could occur ]

   * As this is only adding a new supported subarch in cdimage, no
  problem is expected with existing arch/subarch.

  [ Other Info ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2091392/+subscriptions




More information about the foundations-bugs mailing list