Add native Azure Linux 4 RPM packaging - #28107
Open
Justin Chung (jshigetomi) wants to merge 1 commit into
Open
Justin Chung (jshigetomi) wants to merge 1 commit into
Justin Chung (jshigetomi) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot started reviewing on behalf of
Justin Chung (jshigetomi)
September 25, 2026 18:04
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved review issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Adds native Azure Linux 4 framework-dependent RPM packaging while preserving Azure Linux 3 support.
Changes:
- Adds
.azl4RPM generation, metadata, dependencies, and validation. - Adds channel-specific Azure Linux 4 repository mappings.
- Expands targeted packaging and filename tests.
| File | Description |
|---|---|
tools/packaging/packaging.psm1 |
Adds Azure Linux 4 packaging and RPM resolution. |
tools/packages.microsoft.com/mapping.json |
Defines Azure Linux 4 repository mappings. |
test/packaging/packaging.tests.ps1 |
Tests packaging metadata, dependencies, and mappings. |
test/packaging/linux/package-validation.tests.ps1 |
Validates Azure Linux 4 RPM filenames. |
.pipelines/templates/release-validate-packagenames.yml |
Updates release-time RPM validation. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Dongbo Wang (daxian-dbw)
approved these changes
Sep 25, 2026
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.
PR Summary
.cm) and Azure Linux 4 (.azl4) on x86_64 and aarch64.Release: 1.azl4and select the exact NEVRA produced byrpmbuild.cmandazl4, includingdotnet-runtime-11.0only for framework-dependent builds..azl4in both RPM filename validators, with literal dots escaped and filenames anchored.PR Context
This is the post-release master follow-up to the v7.7.0-preview.5 merge-back in #28090. The release tag and release branch remain unchanged.
The PMC logical prefixes follow the existing mapping convention for the public feeds at
/azurelinux/4/{preview|prod}/microsoft/{arch};Run.ps1appends-yumwhen resolving the PMC repository. Channel-specific mappings prevent preview packages from reaching stable repositories and vice versa.Validation
.azl4filenames for x86_64 and aarch64,Release: 1.azl4, Azure Linux dependency selection, all four PMC mappings and channel policy, retained.cmmappings, and malformed filename rejection.mapping.json;git diff --checkpassed..azl4RPM content.PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header