From 0a5dfffd4a20f4bf021978f82f45d63762307863 Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Sat, 8 Aug 2026 15:30:55 +0000 Subject: [PATCH] TOOL-30781 point UBUNTU_DISTRIBUTION and the generic hwe kernel at resolute The os-upgrade mirror published its first resolute snapshot on 2026-08-08, and it carries resolute only: resolute{,-updates,-security,-backports} under ubuntu/, and resolute, resolute-pgdg and stable under ppas/. The branch's UBUNTU_DISTRIBUTION default still said noble, so configure_apt_sources() wrote source lines for suites that mirror does not have, and every linux-pkg os-upgrade job died at apt-get update before it got as far as git: E: The repository '.../os-upgrade/latest/ubuntu noble-backports Release' does not have a Release file. The default stays environment-overridable, so a build can still be aimed at another suite without editing the branch. get_kernel_version_for_platform_from_apt() pins the generic platform to linux-image-generic-hwe-24.04. That one would not have failed: resolute still publishes an hwe-24.04 metapackage, and it depends on the same 7.0.0-14.14 kernel as hwe-26.04, so the stale pin resolves to the right kernel by accident and would not have announced itself for the rest of the cycle. Point it at hwe-26.04. Co-Authored-By: Claude Opus 5 --- lib/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common.sh b/lib/common.sh index 1faab9c7..bb425d3d 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -34,7 +34,7 @@ export JENKINS_OPS_DIR="${JENKINS_OPS_DIR:-jenkins-ops}" # The suite package builds run against, which may be different than the # branch's default (see lib/container.sh). # -export UBUNTU_DISTRIBUTION="${UBUNTU_DISTRIBUTION:-noble}" +export UBUNTU_DISTRIBUTION="${UBUNTU_DISTRIBUTION:-resolute}" source "$(dirname "${BASH_SOURCE[0]}")/container.sh" @@ -1260,7 +1260,7 @@ function get_kernel_version_for_platform_from_apt() { # available, it is not always the case. # if [[ "$platform" == generic ]]; then - package="linux-image-${platform}-hwe-24.04" + package="linux-image-${platform}-hwe-26.04" else package="linux-image-${platform}" fi