diff --git a/builder/pwnagotchi.json.pkr.hcl b/builder/pwnagotchi.json.pkr.hcl index 3e5181e7..e707724d 100644 --- a/builder/pwnagotchi.json.pkr.hcl +++ b/builder/pwnagotchi.json.pkr.hcl @@ -28,8 +28,8 @@ source "arm" "rpi64-pwnagotchi" { file_target_extension = "xz" file_unarchive_cmd = ["unxz", "$ARCHIVE_PATH"] image_path = "../../../pwnagotchi-rpi-bookworm-${var.pwn_version}-arm64.img" - qemu_binary_source_path = "/usr/bin/qemu-aarch64-static" - qemu_binary_destination_path = "/usr/bin/qemu-aarch64-static" + qemu_binary_source_path = "/usr/libexec/qemu-binfmt/aarch64-binfmt-P" + qemu_binary_destination_path = "/usr/libexec/qemu-binfmt/aarch64-binfmt-P" image_build_method = "resize" image_size = "9G" image_type = "dos" @@ -39,7 +39,7 @@ source "arm" "rpi64-pwnagotchi" { start_sector = "8192" filesystem = "fat" size = "256M" - mountpoint = "/boot/firmware" + mountpoint = "/boot" } image_partitions { name = "root"