go-debos / fakemachine

fake a machine
Apache License 2.0
34 stars 37 forks source link

Add arm64 support & fixes for running on /usr-merged/Fedora systems #129

Closed refi64 closed 8 months ago

refi64 commented 1 year ago

For the arm64 support, this uses a very different approach from #30, but still generalizes things enough to add support for other architectures in the future. Tested to build an Apertis image from a Fedora host.

obbardc commented 1 year ago

It'd also be great to add tests for Fedora on amd64. See https://github.com/go-debos/test-containers/issues/9 for more information.

I don't think we can do tests on arm64, but we could at least crossbuild for that arch?

sjoerdsimons commented 1 year ago

Fwiw did #157 based on heavily refactoring your first patch to make it more generic and fully based on a per-architecture configuration rather then in-code exceptions (apart from the qemu binary).. Also compared to this has a working --show-boot on arm :)

Would still be worth to rebase and do just the fedora specific tweaks

sjoerdsimons commented 8 months ago

given how long this has been stale and now conflicting i'll close it for now; @refi64 please feel free to re-open once you get back to it :)