From f415d58bb03cff291e5e14668d0f0a6085619ca8 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Tue, 31 Oct 2023 09:29:06 +0100 Subject: [PATCH] v2.5.1 Signed-off-by: Jeroen Oudshoorn --- builder/pwnagotchi.json.pkr.hcl | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/builder/pwnagotchi.json.pkr.hcl b/builder/pwnagotchi.json.pkr.hcl index 18800599..18c17850 100644 --- a/builder/pwnagotchi.json.pkr.hcl +++ b/builder/pwnagotchi.json.pkr.hcl @@ -27,6 +27,22 @@ source "arm" "rpi-pwnagotchi" { image_build_method = "reuse" image_size = "9G" image_type = "dos" + image_partitions { + name = "boot" + type = "c" + start_sector = "8192" + filesystem = "fat32" + size = "256M" + mountpoint = "/boot/firmware" + } + image_partitions { + name = "root" + type = "83" + start_sector = "532480" + filesystem = "ext4" + size = "1.7G" + mountpoint = "/" + } } source "arm" "opi-pwnagotchi" { file_checksum_url = "../../images/pwnagotchi-orangepi-raspios.img.xz.sha256" @@ -45,7 +61,7 @@ source "arm" "opi-pwnagotchi" { type = "83" start_sector = "8192" filesystem = "ext4" - size = "0" + size = "1.6G" mountpoint = "/" } }