Skip to content

[Packaging] Fix deb: Set correct architecture in control#22658

Open
cpuguy83 wants to merge 1 commit intoAzure:devfrom
cpuguy83:set_pkg_arch
Open

[Packaging] Fix deb: Set correct architecture in control#22658
cpuguy83 wants to merge 1 commit intoAzure:devfrom
cpuguy83:set_pkg_arch

Conversation

@cpuguy83
Copy link
Copy Markdown
Member

Related command

N/A

Description

These packages are architecture specific so all is invalid here.
Instead use linux-any which will give the packages the architecture
for the target platform (default would be the host's architecture).

Example file with old architecture: azure-cli_2.37.0-1~bionic_all.deb
Example file with corrected architecture: azure-cli_2.37.0-1~bionic_amd64.deb

Testing Guide

N/A


This checklist is used to make sure that common guidelines for a pull request are followed.

@ghost ghost requested a review from yonzhan May 27, 2022 20:23
@ghost ghost added the Auto-Assign Auto assign by bot label May 27, 2022
@ghost ghost assigned jiasli May 27, 2022
@ghost ghost added this to the Jun 2022 (2022-07-05) milestone May 27, 2022
@ghost ghost added the Packaging label May 27, 2022
@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 28, 2022

Packaging

yonzhan
yonzhan previously approved these changes May 28, 2022
@cpuguy83
Copy link
Copy Markdown
Member Author

Realized this breaks the release scripts in scripts/release/debian.
I'll post an update when I get a chance.

Copy link
Copy Markdown
Collaborator

@yonzhan yonzhan left a comment

Choose a reason for hiding this comment

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

Need full test before changing

These packages are architecture specific so `all` is invalid here.
Instead use `linux-any` which will give the packages the architecture
for the target platform (default would be the host's architecture).

Example file with old architecture: azure-cli_2.37.0-1~bionic_all.deb
Example file with corrected architecture: azure-cli_2.37.0-1~bionic_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants