Skip to content

systemd extension changes#619

Merged
Dr-N00B merged 10 commits into
PE-8787from
feature/pe-8315
Jul 21, 2026
Merged

systemd extension changes#619
Dr-N00B merged 10 commits into
PE-8787from
feature/pe-8315

Conversation

@Dr-N00B

@Dr-N00B Dr-N00B commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@Dr-N00B
Dr-N00B marked this pull request as draft June 5, 2026 01:51
Dr-N00B and others added 8 commits June 8, 2026 14:36
…ABIs (#633)

The provider-image build pinned an exact-version kernel-headers install
(linux-headers-<kernel>) derived from the base image's shipped modules.
Ubuntu's *-updates pocket only keeps the current HWE kernel ABI, so when
it rotates the ABI (e.g. 6.14.0-36 -> -37) the headers matching the base
image's kernel disappear from the live mirror while the base image still
ships the old modules. apt then fails with "no installation candidate"
(exit 100), breaking the kubeadm secureboot (UKI) ISO build.

Replace the two identical, hard-failing one-liners (kubeadm and
UPDATE_KERNEL paths) with a single generic helper,
scripts/install-kernel-headers.sh, that hardcodes no kernel version,
ABI, Ubuntu release, or snapshot date:

  1. skip if matching headers already present
  2. exact match from the live mirror (fast path)
  3. exact match from snapshot.ubuntu.com (Ubuntu's immutable archive
     keeps every historical package, so the ABI-matching headers are
     recoverable after the live mirror rotates them out)
  4. best-effort fallback (closest ABI, then linux-headers-generic) with
     a loud warning but without failing the build, consistent with the
     existing SUSE/RHEL branches

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Dr-N00B
Dr-N00B changed the base branch from main to PE-8787 July 21, 2026 07:59
@Dr-N00B
Dr-N00B marked this pull request as ready for review July 21, 2026 08:06
@Dr-N00B
Dr-N00B merged commit 1fed816 into PE-8787 Jul 21, 2026
1 of 2 checks passed
@Dr-N00B
Dr-N00B deleted the feature/pe-8315 branch July 21, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants