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

Buildroot requires x86_64-v3 #122

Closed
supakeen opened this issue Jan 15, 2024 · 2 comments
Closed

Buildroot requires x86_64-v3 #122

supakeen opened this issue Jan 15, 2024 · 2 comments
Labels
area/should-be-bootc Bugs that will be fixed when we switch to using bootc

Comments

@supakeen
Copy link
Member

supakeen commented Jan 15, 2024

So ELN, which is our buildroot, is compiled for x86_64-v3 (see here). People are running into issues regularly where they're running bootc-image-builder on older Xeon hardware that do not support this level of the architecture.

It's probably a good idea to error out much earlier if the sublevel is not supported.

We can use the output of ld.so --help for this.

@cgwalters
Copy link
Contributor

This also touches on #18 because if our very first step is to fetch the target image and execute it (say running true as a sanity check), we will fail at least pretty early on.

IOW we don't need a "buildroot" if the target container is the installer, which compresses complexity here.

Now...there's also the whole larger question of which base image this project uses. I would say that from now, we should use UBI9. But going forward we'll almost certainly need to support being based on multiple distribution/OS bases too (a lot of things here around tie-in to the build process of different OSes/distributions).

@cgwalters cgwalters added the area/should-be-bootc Bugs that will be fixed when we switch to using bootc label Jan 16, 2024
@cgwalters
Copy link
Contributor

I think this is fixed by #138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/should-be-bootc Bugs that will be fixed when we switch to using bootc
Projects
None yet
Development

No branches or pull requests

2 participants