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

Attempting to build fedora coreos for RPI on x86_64 #2850

Closed
dwarf-king-hreidmar opened this issue May 7, 2022 · 2 comments
Closed

Attempting to build fedora coreos for RPI on x86_64 #2850

dwarf-king-hreidmar opened this issue May 7, 2022 · 2 comments

Comments

@dwarf-king-hreidmar
Copy link

dwarf-king-hreidmar commented May 7, 2022

Background: I run a k0s cluster on four RPi4. I want to switch over to fedora CoreOS for these devices. I’m using an isolated switch for cluster communications and I use wifi on each device for network egress/ingress. This means there is only wifi connectivity to the outside world. I'm trying to build a fedora coreos image for my Pi's that contain the necessary wifi packages such as NetworkManager-wifi.

I'm using my laptop (x86_64) to try and build a suitable image using coreos-assembler but I'm pretty new to it. I've got a working directory. I can run cosa init /fetch just fine. How can I build a version of the image that doesn't match the arch of my build machine?

Any other tips and tricks on getting the wifi packages I need built into my own image would also be super helpful.

Thanks so much for this awesome tool.
P.S happy to write docs up for how to do this once I have it working / tested

@cgwalters
Copy link
Member

@cgwalters
Copy link
Member

To be clear, coreos-assembler is not currently intended to be used outside of developing the FCOS "base image" today. See also https://coreos.github.io/coreos-assembler/custom/

How can I build a version of the image that doesn't match the arch of my build machine?

That'd currently require some plumbing in the system; we may eventually support it. However note that with the coreos layering approach, you can use e.g. podman's builtin podman build --arch that uses qemu.

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

No branches or pull requests

2 participants