mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -32,7 +32,7 @@ source "arm-image" "rpi32-pwnagotchi" {
|
|||||||
qemu_binary = "qemu-arm-static"
|
qemu_binary = "qemu-arm-static"
|
||||||
qemu_args = ["-cpu", "arm1176"]
|
qemu_args = ["-cpu", "arm1176"]
|
||||||
image_arch = "arm"
|
image_arch = "arm"
|
||||||
target_image_size = 9969908736
|
target_image_size = 9969908736
|
||||||
}
|
}
|
||||||
|
|
||||||
# a build block invokes sources and runs provisioning steps on them. The
|
# a build block invokes sources and runs provisioning steps on them. The
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
packer {
|
packer {
|
||||||
required_plugins {
|
required_plugins {
|
||||||
#arm = {
|
|
||||||
# version = ">=1.0.0"
|
|
||||||
# source = "github.com/michalfita/cross"
|
|
||||||
#}
|
|
||||||
ansible = {
|
ansible = {
|
||||||
source = "github.com/hashicorp/ansible"
|
source = "github.com/hashicorp/ansible"
|
||||||
version = ">= 1.1.1"
|
version = ">= 1.1.1"
|
||||||
@ -27,7 +23,9 @@ source "arm-image" "rpi32-pwnagotchi" {
|
|||||||
qemu_binary = "qemu-arm-static"
|
qemu_binary = "qemu-arm-static"
|
||||||
qemu_args = ["-cpu", "arm1176"]
|
qemu_args = ["-cpu", "arm1176"]
|
||||||
image_arch = "arm"
|
image_arch = "arm"
|
||||||
target_image_size = 9969908736
|
image_mounts = ["/boot/firmware","/"]
|
||||||
|
target_image_size = 9969908736
|
||||||
|
last_partition_extra_size = 9221225472
|
||||||
}
|
}
|
||||||
|
|
||||||
build {
|
build {
|
||||||
|
@ -21,7 +21,7 @@ source "arm-image" "rpi64-pwnagotchi" {
|
|||||||
iso_checksum = "sha256:58a3ec57402c86332e67789a6b8f149aeeb4e7bb0a16c9388a66ea6e07012e45"
|
iso_checksum = "sha256:58a3ec57402c86332e67789a6b8f149aeeb4e7bb0a16c9388a66ea6e07012e45"
|
||||||
output_filename = "../../../pwnagotchi-64bit.img"
|
output_filename = "../../../pwnagotchi-64bit.img"
|
||||||
qemu_binary = "qemu-aarch64-static"
|
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
|
# a build block invokes sources and runs provisioning steps on them. The
|
||||||
|
Reference in New Issue
Block a user