Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix packaging of armv7 distribution packages #8858

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MAFLO321
Copy link

What this PR does / why we need it:
Until now, the armv7 deb/rpm packages on the GitHub release page have the wrong architecture arm.
This is because nfpm expects arm7 instead of arm (see docs). Hence, nfpm cannot correctly convert the arch to its individual distribution counterpart (armhf/armv7hl/...).

Which issue(s) this PR fixes:
Fixes partially #7705

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • CHANGELOG.md updated
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/upgrading/_index.md

@MAFLO321 MAFLO321 requested a review from a team as a code owner March 21, 2023 19:04
@CLAassistant
Copy link

CLAassistant commented Mar 21, 2023

CLA assistant check
All committers have signed the CLA.

@MAFLO321
Copy link
Author

MAFLO321 commented Mar 21, 2023

I'm unsure if I should add

  • a changelog entry?
    --> the problem exists since 2.7.0
  • and if an upgrade notice is needed?
    --> the deb/rpm packages on the GitHub release page will have a different name

Hopefully this can get the backport release-2.8.x label by some Maintainer.

@@ -61,7 +61,7 @@ local arch = std.extVar('arch');

{
name: name,
arch: arch,
arch: if arch == 'arm' then 'arm7' else arch,
Copy link
Contributor

Choose a reason for hiding this comment

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

@julienduchesne where's the arm defined? Maybe we should fix it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants