diff --git a/builder/combined.json.pkr.hcl b/builder/combined.json.pkr.hcl index 96d196e1..c9ce1bd6 100644 --- a/builder/combined.json.pkr.hcl +++ b/builder/combined.json.pkr.hcl @@ -22,6 +22,7 @@ source "arm-image" "rpi64-pwnagotchi" { output_filename = "../../../pwnagotchi-64bit.img" qemu_binary = "qemu-aarch64-static" target_image_size = 9969908736 + last_partition_extra_size = 9221225472 } source "arm-image" "rpi32-pwnagotchi" { @@ -33,6 +34,7 @@ source "arm-image" "rpi32-pwnagotchi" { qemu_args = ["-cpu", "arm1176"] image_arch = "arm" target_image_size = 9969908736 + last_partition_extra_size = 9221225472 } # a build block invokes sources and runs provisioning steps on them. The diff --git a/builder/raspberrypi64.json.pkr.hcl b/builder/raspberrypi64.json.pkr.hcl index 87bec510..de17dd71 100644 --- a/builder/raspberrypi64.json.pkr.hcl +++ b/builder/raspberrypi64.json.pkr.hcl @@ -22,6 +22,7 @@ source "arm-image" "rpi64-pwnagotchi" { output_filename = "../../../pwnagotchi-64bit.img" qemu_binary = "qemu-aarch64-static" target_image_size = 9969908736 + last_partition_extra_size = 9221225472 } # a build block invokes sources and runs provisioning steps on them. The