Do not build HWE kernel layer on RISC-V as there is no HWE kernel there.

This commit is contained in:
Michael Hudson-Doyle 2025-02-17 11:12:30 +13:00
parent 5e36233d82
commit 46fae973d7
2 changed files with 12 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
livecd-rootfs (24.04.86) UNRELEASED; urgency=medium
* Do not build HWE kernel layer on RISC-V as there is no HWE kernel there.
(LP: #2098622)
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Mon, 17 Feb 2025 11:12:00 +1300
livecd-rootfs (24.04.85) noble; urgency=medium
* Fix build failure when using lowlatency-hwe-24.04, as ubuntustudio does.

View File

@ -999,6 +999,11 @@ case $PROJECT in
;;
esac
if [ $ARCH = "riscv64" ]; then
# For RISC-V we only offer one kernel
variants='ga'
fi
for variant in $variants; do
if [ "$variant" = "ga" ]; then
kernel_metapkg=linux-generic