Add a largemem subarch that ships a 64k kernel variant by default.

jammy-64k
Łukasz 'sil2100' Zemczak 11 months ago
parent 8a59f9d4ee
commit 7d5a370ffe

@ -867,6 +867,9 @@ case $PROJECT in
# However, for RISC-V we only offer one kernel # However, for RISC-V we only offer one kernel
variants='ga' variants='ga'
;; ;;
arm64+largemem)
variants='ga-64k hwe-64k'
;;
*) *)
variants='ga hwe' variants='ga hwe'
;; ;;
@ -879,6 +882,12 @@ case $PROJECT in
elif [ "$variant" = "hwe" ]; then elif [ "$variant" = "hwe" ]; then
kernel_metapkg=linux-generic-hwe-$(lsb_release -sr) kernel_metapkg=linux-generic-hwe-$(lsb_release -sr)
flavor=generic-hwe flavor=generic-hwe
elif [ "$variant" = "ga-64k" ]; then
kernel_metapkg=linux-generic-64k
flavor=generic-64k
elif [ "$variant" = "hwe-64k" ]; then
kernel_metapkg=linux-generic-64k-hwe-$(lsb_release -sr)
flavor=generic-64k-hwe
elif [ "$variant" = "intel" ]; then elif [ "$variant" = "intel" ]; then
kernel_metapkg=linux-intel-iotg kernel_metapkg=linux-intel-iotg
flavor=intel-iotg flavor=intel-iotg

@ -8,6 +8,10 @@ case $PASS in
kernel_metapkg=linux-generic kernel_metapkg=linux-generic
elif [ "$flavor" = "generic-hwe" ]; then elif [ "$flavor" = "generic-hwe" ]; then
kernel_metapkg=linux-generic-hwe-$(lsb_release -sr) kernel_metapkg=linux-generic-hwe-$(lsb_release -sr)
elif [ "$flavor" = "generic-64k" ]; then
kernel_metapkg=linux-generic-64k
elif [ "$flavor" = "generic-64k-hwe" ]; then
kernel_metapkg=linux-generic-64k-hwe-$(lsb_release -sr)
elif [ "$flavor" = "intel-iotg" ]; then elif [ "$flavor" = "intel-iotg" ]; then
kernel_metapkg=linux-intel-iotg kernel_metapkg=linux-intel-iotg
elif [ "$flavor" = "nvidia-tegra" ]; then elif [ "$flavor" = "nvidia-tegra" ]; then

Loading…
Cancel
Save