summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/vars
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-11 00:33:33 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-11 00:33:33 +0200
commitb94d56f916c275ba73e4cd668629652993a96107 (patch)
tree7b265cb5c6d94e51eecfcb1cb805aa46a845dbf3 /roles/bootstrap/vars
parentd3e78a37b6d907ecbfc817db6ba4c7a71f8a96c3 (diff)
Add Raspberry Pi5 support to bootstrap
Diffstat (limited to 'roles/bootstrap/vars')
-rw-r--r--roles/bootstrap/vars/debian.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/roles/bootstrap/vars/debian.yml b/roles/bootstrap/vars/debian.yml
new file mode 100644
index 0000000..25e2764
--- /dev/null
+++ b/roles/bootstrap/vars/debian.yml
@@ -0,0 +1,29 @@
+---
+bootstrap_distro:
+ name: "bookworm" # => Debian 12/Raspberry OS
+ mirror_url: "http://deb.debian.org/debian"
+ packages:
+ - "raspberrypi-kernel"
+ - "raspberrypi-bootloader"
+ - "firmware-brcm80211"
+ - "systemd-sysv"
+ - "udev"
+ - "kmod"
+ - "rpi-eeprom"
+
+bootstrap_opts: "--arch=arm64 --include=systemd,udev"
+
+bootstrap_apt_ignored_preferences: ""
+
+# yamllint disable rule:line-length
+bootstrap_apt_sources: |
+ deb [signed-by=/usr/share/keyrings/raspberrypi.gpg] http://archive.raspberrypi.org/debian {{ bootstrap_distro.name }} main
+ deb http://deb.debian.org/debian {{ bootstrap_distro.name }} main
+
+# yamllint enable rule:line-length
+# 1 = SD card
+# f = Restart (loop back)
+# 6 = NVMe SSD
+# 4 = USB mass storage
+# 1 = SD card (fallback)
+bootstrap_boot_order: "0x1f641"