bootc-image-builder icon indicating copy to clipboard operation
bootc-image-builder copied to clipboard

Allow cross-arch building for iso's

Open cdrage opened this issue 1 year ago • 5 comments

See issue: https://github.com/containers/podman-desktop-extension-bootc/issues/149

as well as the code below:

https://github.com/osbuild/bootc-image-builder/blob/acb5af53c36b2613665e19617ca2f713ef625d34/bib/cmd/bootc-image-builder/main.go#L251

I did not see an open issue yet for being able to select different arches for building iso.

At the moment, in order to build .iso, you will have to make sure to not pass in target-arch even if it matches the current architecture.

I didn't see an issue opened up for this issue.

cdrage avatar Mar 28 '24 13:03 cdrage

Even if cross-arch compiling wasn't supported it would be great if the error was omitted when the passed --target-arch matches the current arch (i.e. the same as passing no target).

deboer-tim avatar Apr 04 '24 02:04 deboer-tim

Cross-compiling an ISO is currently out of scope due to technical complexity. However, relaxing the check for the cases when target-arch == current-arch() indeed makes sense. @mvo5 May I ask you to take a look?

ondrejbudai avatar Apr 04 '24 12:04 ondrejbudai

Cross-compiling an ISO is currently out of scope due to technical complexity. However, relaxing the check for the cases when target-arch == current-arch() indeed makes sense. @mvo5 May I ask you to take a look?

Sorry, I missed this and only saw it now. I opened https://github.com/osbuild/bootc-image-builder/pull/364 that should address this.

mvo5 avatar Apr 18 '24 06:04 mvo5

This issue is stale because it had no activity for the past 365 days. Remove the "Stale" label or add a comment, otherwise this issue will be closed in 30 days.

github-actions[bot] avatar May 14 '25 04:05 github-actions[bot]

Still relevant

cdrage avatar May 16 '25 12:05 cdrage