Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

Improve support for using bootc-image-builder under virtualisation (cross-arch). #1225

Description

@phr34k

I've tried various setups and configurations but in pretty much every setup, bootc-image-builder seems to give me trouble in one way or another and a humble request would be if there's a chance the software could be made compatible so that it could run a virtual machine or preferably on wsl (windows subsystem for linux).

Here's some examples:

On WSL building the containers using podman for cross architecture (i.e. amd64 host -> aarch64 container) works fine, but running bootc-image-builder both ext4 and xfs rootfs are giving errors. For xfs the error is cannot set blocksize 512 on block device /dev/loop0: Inappropriate ioctl for device. For ext4 the error is Function not implemented (os error 38). If I understood correctly, both error seem to imply that WSL kernel features doesn't really meet the what is needed for an image build, although I'm not sure, or some kind of qemu syscall isn't suspported.

On a newly installed virtual machine with nested virtualization it seems to come a little bit further but it errors on, I've tried re-configuring podman increasing various limits and increasing the locks in general and it didn't make a differences.

Installing to filesystem: Creating imgstorage
: Initializing images: Subprocess failed: ExitStatus(unix_wait_status(32000))
Error: failed to open 2048 locks in /libpod_lock: numerical result out of range
Traceback (most recent call last):
File "/run/osbuild/bin/org.osbuild.bootc.install-to-filesystem", line 89, in <module>
    r = main(args["options"], args["inputs"], args["paths"])
  File "/run/osbuild/bin/org.osbuild.bootc.install-to-filesystem", line 82, in main
    subprocess.run(pargs, env=env, check=True)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/subprocess.py", line 578, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)

I've also been recommended to use image-build-cli as an alternative but that project also doesn't seem to run, i have access to a single workstation with plenty of memory to run vm's or dockers but am having a hard time finding an configuration that works to convert an aarch64 oci container to a bootc image that i can actually flash on my target device.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions