From 87dcf0de62c05e73438fe6e711a28797e7139dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Mon, 20 Feb 2023 17:30:01 +0100 Subject: [PATCH] Do not offer the hwe kernel for RISC-V server-live images --- debian/changelog | 6 ++++++ live-build/auto/config | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 5c1e5e1c..7bf20e70 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.765.17) UNRELEASED; urgency=medium + + * Do not offer the hwe kernel for RISC-V server-live images (LP: #2007863). + + -- Ɓukasz 'sil2100' Zemczak Mon, 20 Feb 2023 17:18:37 +0100 + livecd-rootfs (2.765.16) jammy; urgency=medium * Properly handle the lowlatency hwe kernel flavour. diff --git a/live-build/auto/config b/live-build/auto/config index 903171ca..3fefd19e 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -853,7 +853,12 @@ case $PROJECT in # written generically to support both even though a lot of the # time only one kernel is offered. - variants='ga hwe' + if [ $ARCH = riscv64 ]; then + # However, for RISC-V we only offer one kernel + variants='ga' + else + variants='ga hwe' + fi for variant in $variants; do if [ "$variant" = "ga" ]; then