-
Notifications
You must be signed in to change notification settings - Fork 12
Binfmt and QEMU are not configured for x86 #24
Description
I am trying to use the tool from Ubuntu 20.04, but it fails. I prepared the script with this command, which gave no error:
create-alpine-disk-image --debug --script-filename create.sh --virtual vmware --arch x86 --cpu-vendor intel --enable-watchdog --os-device-media disk --os-device-type scsi --ipv4only --keymap 'us us-intl' --optimise --username cloud --password cloud --auth-control both --root-part-size 128 --add-packages 'linux-virt mesa-dri-gallium open-vm-tools-deploypkg open-vm-tools-guestinfo open-vm-tools-openrc open-vm-tools-static open-vm-tools-timesync open-vm-tools-vmbackup busybox-extras binutils wget ca-certificates'
However, when I try to run it (as root), following error message appears:
Binfmt and QEMU are not configured for x86
I think I have all dependencies installed, but I couldn't see a list of required packages, I installed them basicaly through trial and error.
Edit: I found out what the problem was. My system had x86_64 as architecture, but my intention was to build a strict x86 alpine image. Apparently, in order to build an image for a different architecture, some extra configuration must be done which the script doesn't currently support.