Skip to content

feat(kernel): build base variants and restore selftests - #18374

Merged
Christopher Co (christopherco) merged 1 commit into
4.0from
rlmenge/4.0/kernel-base-variants-selftests
Aug 11, 2026
Merged

feat(kernel): build base variants and restore selftests#18374
Christopher Co (christopherco) merged 1 commit into
4.0from
rlmenge/4.0/kernel-base-variants-selftests

Conversation

@rlmenge

Copy link
Copy Markdown
Contributor

Summary

Build only the Azure Linux base kernel variants while keeping EFI UKI enabled and restoring kernel-selftests-internal.

This moves the Azure Linux kernel build defines out of the transitional generated kernel.azl.macros file and into the maintained local kernel spec. The generated macro file is removed from both the component source and rendered spec output.

This is intended as a transitional commit before trimming additional unused variant logic from the local spec.

Changes

  • Move Azure Linux kernel build defines into kernel.spec
  • Remove generated kernel.azl.macros from source and rendered output
  • Disable non-base variants:
    • debug
    • realtime / rt-64k
    • arm64 16k / 64k
    • automotive
    • zfcpdump
  • Keep EFI UKI enabled
  • Keep kernel-selftests-internal enabled
  • Bump manual kernel release to 6.18.31-1.14
  • Refresh rendered kernel output and locks/kernel.lock

Move Azure Linux kernel build defines into the maintained local spec and
remove the transitional generated macros source.

Build only the base kernel variants while keeping EFI UKI enabled, and
restore kernel-selftests-internal packaging.

This serves as a transitional commit before trimming other parts of the
spec which are no longer needed.

Co-authored-by: copilot
@rlmenge
Rachel Menge (rlmenge) requested a review from a team as a code owner August 10, 2026 21:44
Copilot AI balanced review requested due to automatic review settings August 10, 2026 21:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Moves kernel build controls into the maintained local spec, limits builds to base variants, and restores internal selftests.

Changes:

  • Disables non-base kernel variants while retaining EFI UKI and selftests.
  • Removes transitional macro files and updates release metadata.
  • Refreshes rendered output and the component lock.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
base/comps/kernel/kernel.spec Adds build controls and release definitions.
base/comps/kernel/kernel.comp.toml Updates manual-release guidance.
base/comps/kernel/kernel.azl.macros Removes transitional macros.
specs/k/kernel/kernel.spec Refreshes rendered kernel spec.
specs/k/kernel/kernel.azl.macros Removes rendered transitional macros.
locks/kernel.lock Refreshes the input fingerprint.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

# Azure Linux local kernel spec.
#
# This is a maintained local spec (migrated from the previous azldev TOML
# overlay approach). Edit this file directly. Azure Linux customizations are
@rlmenge

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

@christopherco
Christopher Co (christopherco) merged commit abfc51e into 4.0 Aug 11, 2026
12 checks passed
@christopherco
Christopher Co (christopherco) deleted the rlmenge/4.0/kernel-base-variants-selftests branch August 11, 2026 01:48
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.

3 participants