my employer has quite a few aarch64 machines, supporting PXE boot. We are currently in the process of switching to foreman for deployment and use the discovery plugin (which is working really nice by the way, at least for x86_64 nodes). Unfortunately, by default, the discovery image only supports x86_64 machines and no other architectures. I spent the last 2 days building the image for aarch64, which worked pretty cleanly. I only needed to build a few RPMs manually and replace a few dependencies and build options.
I wrote instructions on how to build the aarch64 image, you can find them here:
I hope it helps others with aarch64 hosts.
Maybe this can even be used as base for officials builds in the future
It would be great if at one point the script had a parameter for the architecture.
Build A Local ARM64 RPM Repository
In Bootstrapping Foreman RPM packaging I wrote up how to (re)build Foreman’s packages from scratch. As an experiment, I built a copr repository. I already had a chat with @Odilhao about building Foreman for aarch64. We’re working on building Foreman on EL10 and I think it’s a great time to start building on both aarch64 and x86_64.
Patch The Kickstart For ARM64
The whole repo part isn’t needed once we build packages in our regular repos.
But this part:
Remove x86-only packages and add ARM64 GRUB/shim packages:
I wonder if there are virtual packages we can install. For example, if you depend on shim then it will install shim-x64: