From dbb83b4825eb1b7979d66470271d7500c4f0bdb3 Mon Sep 17 00:00:00 2001 From: jayofelony Date: Mon, 1 Jul 2024 16:05:45 +0200 Subject: [PATCH] Update build Signed-off-by: jayofelony --- builder/combined.json.pkr.hcl | 2 ++ builder/raspberrypi64.json.pkr.hcl | 1 + 2 files changed, 3 insertions(+) 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