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: ensure image build uses correct architecture for macos #263

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

Conversation

JameelB
Copy link

@JameelB JameelB commented Apr 18, 2023

Description

When running any of the image build make targets on an m1 macos, it fails due to the following error in RUN make binary step:

qemu-x87_64: Could not open '/lib64/ld-linux-x86-64.so.2

This change specifies the platform to ensure build uses the correct architecture on MacOS. Similar changes were done for KFM, see bf2fc6cc711aee1a0c2a/kas-fleet-manager#1602

Verification Steps

  1. Run make image/build or make image/build/internal or make image/build/dev
    • Verified on MacOS
    • Verified on Linux

Checklist (Definition of Done)

  • All acceptance criteria specified in JIRA have been completed
  • Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
  • Documentation added for the feature
  • CI and all relevant tests are passing
  • Code Review completed
  • Verified independently by reviewer
  • Required metrics/dashboards/alerts have been added (or PR created).
  • Required Standard Operating Procedure (SOP) is added.
  • JIRA has created for changes required on the client side

When running any of the image build  make targets on an m1 macos, it fails due to
the following error: qemu-x87_64: Could not open '/lib64/ld-linux-x86-64.so.2

This change specifies the platform to ensure build uses the correct architecture on macos
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.

1 participant