◐ Shell
clean mode source ↗

Specify 'linux-arm64' runtime if package type is 'deb-arm64' in packaging.psm1 by anamnavi · Pull Request #27401 · PowerShell/PowerShell

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@anamnavi

PR Summary

Add condition to specify Runtime as linux-arm64 for New-PSOptions call, if PackageType is deb-arm64. Without this, the runtime gets set as the default linux-x64 runtime which causes packaging to fail for debian arm64.

Packaging improvements:

  • Added handling for the deb-arm64 package type in the Start-PSPackage function, enabling the creation of ARM64 Debian packages by specifying the linux-arm64 runtime.

PR Context

PR Checklist

Packaging improvements:

  • Added a conditional branch in the Start-PSPackage function within packaging.psm1 to support the deb-arm64 package type, configuring it to use the linux-arm64 runtime in Release mode.

Copilot AI review requested due to automatic review settings

May 6, 2026 16:34

andyleejordan

@daxian-dbw

@anamnavi Can you please update the PR description to include what issue this is fixing?

@anamnavi anamnavi changed the title Add condition for Deb-arm64 type package in packaging.psm1 Specify 'linux-arm64' runtime if package type is 'deb-arm64' in packaging.psm1

May 6, 2026

@daxian-dbw

The team's decided that we are not backporting arm64 package related PRs to 7.4 and 7.5.

JustinGrote pushed a commit to JustinGrote/PowerShell that referenced this pull request

Jun 2, 2026

Labels