From a3416542a40c1acb8bcdd9277467ff4ce0fbb893 Mon Sep 17 00:00:00 2001 From: Cirrus Codex Date: Fri, 15 May 2026 13:28:55 -0400 Subject: [PATCH] Prefer Ubuntu generic kernels before fallback tracks --- tests/cmc-upgrade-kernel-test.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/cmc-upgrade-kernel-test.md b/tests/cmc-upgrade-kernel-test.md index 29d893e..6d00ea8 100644 --- a/tests/cmc-upgrade-kernel-test.md +++ b/tests/cmc-upgrade-kernel-test.md @@ -82,7 +82,9 @@ Validate CMC behavior across staged kernel upgrades on a cloned VM, including re 2. Confirm source host is powered on for the inspection phase. If it is powered off, power it on. 3. SSH to the source host and check available kernel versions on the source before cloning. 4. Build source-host kernel candidate list from all available versions (include intermediate versions, not just the latest from `check-update`). - - On Ubuntu, use `apt-cache madison` and/or `apt list -a` for `linux-image-generic`, `linux-headers-generic`, and `linux-image-generic-hwe-24.04` / `linux-headers-generic-hwe-24.04` after `apt update` so the candidate scan includes all available generic kernel tracks, not just the newest upgradable entry. + - On Ubuntu, prefer the generic kernel track first: use `apt-cache madison` and/or `apt list -a` for `linux-image-generic` and `linux-headers-generic` after `apt update`. + - If the generic track returns no usable upgrade candidates, pause and ask the operator whether to continue with alternate Ubuntu kernel tracks. + - When prompting for alternate Ubuntu tracks, display the other available kernel candidates, including `linux-image-generic-hwe-24.04` / `linux-headers-generic-hwe-24.04` when present, and wait for explicit operator confirmation before proceeding. 5. Candidate scope rule: - Include only kernels in the same major OS family as the current machine (no major-version upgrades). - Prefer candidates within the same minor stream as current OS/kernel when available.