Update build

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
jayofelony
2024-07-01 16:00:09 +02:00
parent 62c324730c
commit 956c083985
3 changed files with 5 additions and 7 deletions

View File

@ -32,7 +32,7 @@ source "arm-image" "rpi32-pwnagotchi" {
qemu_binary = "qemu-arm-static"
qemu_args = ["-cpu", "arm1176"]
image_arch = "arm"
target_image_size = 9969908736
target_image_size = 9969908736
}
# a build block invokes sources and runs provisioning steps on them. The

View File

@ -1,9 +1,5 @@
packer {
required_plugins {
#arm = {
# version = ">=1.0.0"
# source = "github.com/michalfita/cross"
#}
ansible = {
source = "github.com/hashicorp/ansible"
version = ">= 1.1.1"
@ -27,7 +23,9 @@ source "arm-image" "rpi32-pwnagotchi" {
qemu_binary = "qemu-arm-static"
qemu_args = ["-cpu", "arm1176"]
image_arch = "arm"
target_image_size = 9969908736
image_mounts = ["/boot/firmware","/"]
target_image_size = 9969908736
last_partition_extra_size = 9221225472
}
build {

View File

@ -21,7 +21,7 @@ source "arm-image" "rpi64-pwnagotchi" {
iso_checksum = "sha256:58a3ec57402c86332e67789a6b8f149aeeb4e7bb0a16c9388a66ea6e07012e45"
output_filename = "../../../pwnagotchi-64bit.img"
qemu_binary = "qemu-aarch64-static"
target_image_size = 9969908736
target_image_size = 9969908736
}
# a build block invokes sources and runs provisioning steps on them. The