Create PowerShell package for arm debian distribution#26925
Conversation
There was a problem hiding this comment.
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-armto the[ValidateSet]for the$Typeparameter inStart-PSPackage. - Implements the
deb-armswitch case inStart-PSPackage, invokingNew-UnixPackagewithHostArchitecture = "arm64"for each Debian distribution. - Updates the comment in
New-UnixPackageto reflect thatarm64is now a supporteddebhost architecture.
|
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
583136b to
b19b5ff
Compare
|
Closes #24076. |
andyleejordan
left a comment
There was a problem hiding this comment.
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.
|
Removed 7.4 and 7.5 consider as we are going to create new packages for 7.4 and 7.5 |
PR Summary
Create PowerShell package for arm debian distribution.
PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header