mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -17,7 +17,11 @@ variable "pwn_version" {
|
||||
type = string
|
||||
}
|
||||
|
||||
source "arm" "rpi-pwnagotchi" {
|
||||
# a build block invokes sources and runs provisioning steps on them. The
|
||||
# documentation for build blocks can be found here:
|
||||
# https://www.packer.io/docs/from-1.5/blocks/build
|
||||
build {
|
||||
source "arm" "rpi-pwnagotchi" {
|
||||
name = "Raspberry Pi Pwnagotchi"
|
||||
file_checksum_url = "https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2023-05-03/2023-05-03-raspios-bullseye-arm64-lite.img.xz.sha256"
|
||||
file_urls = ["https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2023-05-03/2023-05-03-raspios-bullseye-arm64-lite.img.xz"]
|
||||
@ -46,8 +50,8 @@ source "arm" "rpi-pwnagotchi" {
|
||||
size = "0"
|
||||
mountpoint = "/"
|
||||
}
|
||||
}
|
||||
source "arm" "opi-pwnagotchi" {
|
||||
}
|
||||
source "arm" "opi-pwnagotchi" {
|
||||
name = "Orange Pi Pwnagotchi"
|
||||
file_checksum_url = "../../images/pwnagotchi-orangepi-raspios.img.xz.sha256"
|
||||
file_urls = ["../../images/pwnagotchi-orangepi-raspios.img.xz"]
|
||||
@ -68,12 +72,8 @@ source "arm" "opi-pwnagotchi" {
|
||||
size = "0"
|
||||
mountpoint = "/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# a build block invokes sources and runs provisioning steps on them. The
|
||||
# documentation for build blocks can be found here:
|
||||
# https://www.packer.io/docs/from-1.5/blocks/build
|
||||
build {
|
||||
provisioner "file" {
|
||||
destination = "/usr/bin/"
|
||||
sources = [
|
||||
|
Reference in New Issue
Block a user