From f895b0697800a3993351d61ccd61cb86e1382b6b Mon Sep 17 00:00:00 2001 From: ck Date: Mon, 5 Feb 2024 13:19:56 -0500 Subject: [PATCH] Update qemu binary paths for arm64 --- builder/pwnagotchi.json.pkr.hcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"