feat(kernel): build base variants and restore selftests - #18374
Merged
Christopher Co (christopherco) merged 1 commit intoAug 11, 2026
Merged
Conversation
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
Contributor
There was a problem hiding this comment.
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 |
Contributor
Author
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
Christopher Co (christopherco)
approved these changes
Aug 11, 2026
Christopher Co (christopherco)
deleted the
rlmenge/4.0/kernel-base-variants-selftests
branch
August 11, 2026 01:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.macrosfile 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
kernel.speckernel.azl.macrosfrom source and rendered outputkernel-selftests-internalenabled6.18.31-1.14locks/kernel.lock