◐ Shell
clean mode source ↗

Create PowerShell package for arm debian distribution by anamnavi · Pull Request #26925 · PowerShell/PowerShell

@anamnavi

PR Summary

Create PowerShell package for arm debian distribution.

PR Context

PR Checklist

Copilot AI review requested due to automatic review settings

March 2, 2026 18:49

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for building an ARM64 Debian package for PowerShell by introducing a new deb-arm package type. This complements the existing deb (x64) package type and mirrors the pattern already used for ARM64 in other Linux package types (e.g., tar-arm64, rpm-fxdependent-arm64).

Changes:

  • Adds deb-arm to the [ValidateSet] for the $Type parameter in Start-PSPackage.
  • Implements the deb-arm switch case in Start-PSPackage, invoking New-UnixPackage with HostArchitecture = "arm64" for each Debian distribution.
  • Updates the comment in New-UnixPackage to reflect that arm64 is now a supported deb host architecture.

TravisEz13

@daxian-dbw

A note from our offline discussion: The PowerShell v7.6.0 GA release will not wait for this change.

… deb-arm64 type in .yml files

@andyleejordan

andyleejordan

Choose a reason for hiding this comment

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

I'm going to go ahead and approve this because it's practically exactly what I came up with using Claude (which I had already reviewed) in #27386 and I'm being asked by community members that we fix this. I view it as a bug, since we ship Debian ARM64 as a tarball, we really need to ship it as a proper package too.

adityapatwardhan

@adityapatwardhan

Removed 7.4 and 7.5 consider as we are going to create new packages for 7.4 and 7.5

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

Jun 2, 2026