Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot cross arch build arm64 vhd disk on x86_64 VM #661

Open
yuxisun1217 opened this issue Sep 29, 2024 · 0 comments
Open

Cannot cross arch build arm64 vhd disk on x86_64 VM #661

yuxisun1217 opened this issue Sep 29, 2024 · 0 comments

Comments

@yuxisun1217
Copy link

I cannot cross-arch build an arm64 vhd disk on the x86_64 VM.

# podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v ./config.toml:/config.toml -v ./output:/output -v /var/lib/containers/storage:/var/lib/containers/storage quay.io/centos-bootc/bootc-image-builder:latest --type vhd --config /config.toml --local localhost/rhel-bootc-azure-aarch64:9.5 --target-arch arm64
Generating manifest manifest-vhd.json
WARNING: target-arch is experimental and needs an installed 'qemu-user' package
DONE
Building manifest-vhd.json
Export vpc not found in ['build', 'ostree-deployment', 'image', 'qcow2', 'vmdk', 'ovf', 'archive']
Failed
2024/09/29 09:30:20 error: cannot run osbuild: running osbuild failed: exit status 1

bib image labels:

                    "architecture": "x86_64",
                    "build-date": "2024-09-26T14:36:13",
                    "description": "This tools allows to build and deploy disk-images from bootc container inputs.",
                    "io.buildah.version": "1.37.0-dev",
                    "io.k8s.description": "This tools allows to build and deploy disk-images from bootc container inputs.",
                    "io.k8s.display-name": "Bootc Image Builder",
                    "io.openshift.tags": "base fedora40",
                    "license": "MIT",
                    "name": "fedora",
                    "org.opencontainers.image.license": "MIT",
                    "org.opencontainers.image.name": "fedora",
                    "org.opencontainers.image.url": "https://fedoraproject.org/",
                    "org.opencontainers.image.vendor": "Fedora Project",
                    "org.opencontainers.image.version": "40",
                    "summary": "A container to create disk-images from bootc container inputs",
                    "vcs-ref": "031df2b115743a87b6684d4894f3d1730afefc98",
                    "vcs-type": "git",
                    "vendor": "Fedora Project",
                    "version": "40"
@yuxisun1217 yuxisun1217 changed the title Cannot on x86_64 VM cross arch build arm64 vhd disk Cannot cross arch build arm64 vhd disk on x86_64 VM Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant