Skip to content

Create PowerShell package for arm debian distribution#26925

Merged
adityapatwardhan merged 4 commits into
PowerShell:masterfrom
anamnavi:debian-arm64-pmcsupport
May 5, 2026
Merged

Create PowerShell package for arm debian distribution#26925
adityapatwardhan merged 4 commits into
PowerShell:masterfrom
anamnavi:debian-arm64-pmcsupport

Conversation

@anamnavi
Copy link
Copy Markdown
Member

@anamnavi anamnavi commented Mar 2, 2026

PR Summary

Create PowerShell package for arm debian distribution.

PR Context

PR Checklist

@anamnavi anamnavi requested a review from jshigetomi as a code owner March 2, 2026 18:49
Copilot AI review requested due to automatic review settings March 2, 2026 18:49
@anamnavi anamnavi requested a review from a team as a code owner March 2, 2026 18:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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.

Comment thread tools/packaging/packaging.psm1 Outdated
Comment thread tools/packaging/packaging.psm1 Outdated
Comment thread tools/packaging/packaging.psm1 Outdated
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Mar 3, 2026
Comment thread .pipelines/PowerShell-Packages-Official.yml Outdated
@daxian-dbw
Copy link
Copy Markdown
Member

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

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Review - Needed The PR is being reviewed label Mar 17, 2026
@anamnavi anamnavi force-pushed the debian-arm64-pmcsupport branch from 583136b to b19b5ff Compare May 4, 2026 13:25
@andyleejordan
Copy link
Copy Markdown
Member

Closes #24076.

Copy link
Copy Markdown
Member

@andyleejordan andyleejordan left a comment

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 merged commit ddff03a into PowerShell:master May 5, 2026
38 checks passed
@adityapatwardhan
Copy link
Copy Markdown
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.6.x-Done CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log Review - Needed The PR is being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants