Specify 'linux-arm64' runtime if package type is 'deb-arm64' in packaging.psm1#27401
Merged
Merged
Conversation
andyleejordan
approved these changes
May 6, 2026
Member
|
@anamnavi Can you please update the PR description to include what issue this is fixing? |
Merged
9 tasks
Member
|
The team's decided that we are not backporting arm64 package related PRs to 7.4 and 7.5. |
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
Add condition to specify Runtime as
linux-arm64forNew-PSOptionscall, if PackageType isdeb-arm64. Without this, the runtime gets set as the defaultlinux-x64runtime which causes packaging to fail for debian arm64.Packaging improvements:
deb-arm64package type in theStart-PSPackagefunction, enabling the creation of ARM64 Debian packages by specifying thelinux-arm64runtime.PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerThis pull request introduces support for a new package type in the packaging script. Specifically, it adds logic to handle the creation of
deb-arm64packages, ensuring the correct runtime and configuration are used when building for this architecture.Packaging improvements:
Start-PSPackagefunction withinpackaging.psm1to support thedeb-arm64package type, configuring it to use thelinux-arm64runtime in Release mode.