Repository navigation
chore(maker-rpm): map arm64 -> aarch64 - #3137
Conversation
malept
left a comment
There was a problem hiding this comment.
Eventually all of this logic should be upstreamed, but for now this looks fine.
|
There is one thing I'm worried about - changing the default filename seems like a breaking change since that would cause a lot of churn for projects using Forge and generating RPMs. I would suggest avoiding this change and making the break when we decide to release v7. |
|
Good point @malept, will certainly result in some issues if the name changes. Maybe for now I can update this PR to provide a |
b58bfef to
44f69aa
Compare
|
@malept, I've updated this PR to use the |
Summarize your changes:
The canonical name used by the
rpmpackage is aarch64. The current behavior of leaving the name arm64 unmapped can lead to subtle behavior differences, since during the RPM building process, the platform name is used for matching against macros under/usr/lib/rpm/platform/<platform>/macros, and the platform name there isaarch64-linux. Mapping to aarch64 also ensures that the behavior of--arch=arm64is the same as running on a Linux Arm64 machine, whereunamewill be returning aarch64, not arm64.Note that this does change the extension of the final RPM to
*.aarch64.rpminstead of*.arm64.rpm.