Backport support for building tegra-igx Core

Backport support for building tegra-igx Server and Core images;
LP: #2070070.

From https://code.launchpad.net/~rmartin013/livecd-rootfs/+git/livecd-rootfs/+merge/466187
ubuntu/jammy
Loïc Minier 6 months ago
commit 42281654ae

8
debian/changelog vendored

@ -1,3 +1,11 @@
livecd-rootfs (2.765.44) jammy; urgency=medium
[ Rémy Martin ]
* Backport support for building tegra-igx Server and Core images;
LP: #2070070.
-- Loïc Minier <loic.minier@ubuntu.com> Fri, 21 Jun 2024 18:42:58 +0000
livecd-rootfs (2.765.43) jammy; urgency=medium
* buildd/02-disk-image-uefi add udev early hook to satisfy grub-probe

@ -400,6 +400,10 @@ case $IMAGEFORMAT in
MODEL=pi3-arm64 ;;
armhf+cm3)
MODEL=cm3 ;;
arm64+tegra)
MODEL=tegra ;;
arm64+tegra-igx)
MODEL=tegra-igx ;;
arm64+*)
MODEL=pc-arm64 ;;
*)
@ -863,6 +867,9 @@ case $PROJECT in
arm64+tegra)
variants='tegra'
;;
arm64+tegra-igx)
variants='tegra-igx'
;;
riscv64*)
# However, for RISC-V we only offer one kernel
variants='ga'
@ -894,6 +901,9 @@ case $PROJECT in
elif [ "$variant" = "tegra" ]; then
kernel_metapkg=linux-nvidia-tegra
flavor=nvidia-tegra
elif [ "$variant" = "tegra-igx" ]; then
kernel_metapkg=linux-nvidia-tegra-igx
flavor=nvidia-tegra-igx
else
echo "bogus variant: $variant"
exit 1
@ -1113,9 +1123,9 @@ case "$ARCH${SUBARCH:++$SUBARCH}" in
add_package install linux-firmware-raspi2 pi-bluetooth u-boot-rpi u-boot-tools
BINARY_REMOVE_LINUX=false
;;
arm64+tegra)
# Common configuration for all NVIDIA Tegra image variants (server,
# desktop etc.)
arm64+tegra|arm64+tegra-igx)
# Common configuration for all NVIDIA Tegra image variants
# (server, desktop etc.)
KERNEL_FLAVOURS="nvidia-$SUBARCH"
COMPONENTS='main restricted universe multiverse'
;;

@ -16,6 +16,8 @@ case $PASS in
kernel_metapkg=linux-intel-iotg
elif [ "$flavor" = "nvidia-tegra" ]; then
kernel_metapkg=linux-nvidia-tegra
elif [ "$flavor" = "nvidia-tegra-igx" ]; then
kernel_metapkg=linux-nvidia-tegra-igx
else
echo "bogus flavor: $flavor"
exit 1

Loading…
Cancel
Save