diff --git a/builder/combined.json.pkr.hcl b/builder/combined.json.pkr.hcl index 119ef4c6..156ac196 100644 --- a/builder/combined.json.pkr.hcl +++ b/builder/combined.json.pkr.hcl @@ -26,6 +26,7 @@ source "arm-image" "rpi64-pwnagotchi" { output_filename = "../../../pwnagotchi-64bit.img" qemu_binary = "qemu-aarch64-static" target_image_size = 19969908736 + image_mounts = ["/boot/firmware","/"] } source "arm-image" "rpi32-pwnagotchi" { @@ -37,6 +38,7 @@ source "arm-image" "rpi32-pwnagotchi" { qemu_args = ["-cpu", "arm1176"] image_arch = "arm" target_image_size = 19969908736 + image_mounts = ["/boot/firmware","/"] } # 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 dea21576..8493f4a4 100644 --- a/builder/raspberrypi64.json.pkr.hcl +++ b/builder/raspberrypi64.json.pkr.hcl @@ -26,6 +26,7 @@ source "arm-image" "rpi64-pwnagotchi" { output_filename = "../../../pwnagotchi-64bit.img" qemu_binary = "qemu-aarch64-static" target_image_size = 19969908736 + image_mounts = ["/boot/firmware","/"] } # a build block invokes sources and runs provisioning steps on them. The