Open shanduur opened 1 year ago
i have run into this as well. ubuntu_server_20.04_arm64.json /hcl works my updated ubuntu_server_22.04_arm64.json /hcl does not. i have updated the file url's to hit the 22.04 images.
It's because the plugin can't find the registered qemu-arm-static
binary.
This issue is related to the operating system specifics; in my case, on an Arch Linux host, it was fixed by installing the package qemu-user-static-binfmt
, which contains the necessary orders for registering.
In another case, you might incorrectly set the qemu_binary_source_path = "/usr/bin/qemu-arm-static"
.
I'm not sure, but I think it can be fixed by running this script: https://gist.github.com/yuanfang-chen/d3ad4959727bbab8682e
I am facing this issue as in the title.
The environment:
Packer:
Kernel
OS
Installed Packages
Debug Logs
Full log acquired with
PACKER_LOG=1
(PACKER_LOG=1 sudo -E packer build boards/raspberry-pi/raspios-lite-arm.json
)packer.log