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

Use correct architecture for yum repo instead of hardcoding x86_64 #6927

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

ccravens
Copy link
Contributor

@ccravens ccravens commented Oct 3, 2024

Proposed Changes

I'm working on fixing the RPM install process for ARM64 aarch64 architecture type.

Does not require a change to docs

Types of Changes

Minor bug fixes to enable RPM installs of aarch64

Verification

Run the following command on an ARM64 version of Rocky 8:

curl -sfL https://get.rke2.io/ | INSTALL_RKE2_TYPE="server" INSTALL_RKE2_VERSION="v1.28.14+rke2r1" sh -

Testing

Not covered by testing

Linked Issues

#6926

User-Facing Change

NONE

Further Comments

Quick fix, not a major change

@ccravens ccravens requested a review from a team as a code owner October 3, 2024 19:12
Copy link
Member

@brandond brandond left a comment

Choose a reason for hiding this comment

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

thanks!

install.sh Outdated Show resolved Hide resolved
@cwayne18
Copy link
Member

cwayne18 commented Oct 3, 2024

@vitorsavian is this still an issue after your recent PRs?

uname -m is the proper way to do this, rather than ARCH

Co-authored-by: Brad Davidson <[email protected]>
@brandond
Copy link
Member

brandond commented Oct 3, 2024

I suspect we didn't actually test installing RPMs using the install script on arm64. We only checked to see that they are built and published.

@ccravens
Copy link
Contributor Author

ccravens commented Oct 3, 2024

Tested the patch with (uname -m) on my Rocky 8 ARM64 and it seems to install OK

Also we updated our tests to 1.28.14+rke2r1

@brandond brandond changed the title Fix to use architecture from env var as repo baseurl rather than hard… Use correct architecture for yum repo instead of hardcoding x86_64 Oct 3, 2024
@brandond brandond merged commit 4cdf0e9 into rancher:master Oct 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants