Open chunfuwen opened 3 months ago
Thanks for reporting this issue. The error
bwrap: execvp /run/osbuild/runner/org.osbuild.linux: Exec format error
indicates there is no qemu-user available here. Given that this is a RHEL host (AIUI) that is expected. Unfortunately we need to be able to run (at least some) non-native code when doing a cross arch build so right now this expected. We could make the error nicer though, this is really not a very user-friendly way to report it.
@mvo5 We talked about this, and we figure out that we maybe can detect this and bail out sooner, right?
@mvo5 We talked about this, and we figure out that we maybe can detect this and bail out sooner, right?
Yes, I will fix that.
[edit: I created https://github.com/osbuild/bootc-image-builder/pull/335 with a draft, need to think a little bit about how to properly integration test it]
Build Centos stream 9 aarch64 qcow2 image on rhel 9.4 x86_64 machine with below command:
And got below error message:
Also my qemu-kvm package information follow as: