summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/vars/raspberry.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-11 00:33:36 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-11 00:33:36 +0200
commitbd2cb308854a5ec9f438c0604a47a5eef6880d92 (patch)
treeb395b85f7f7523593ba73fa05cbd38e528b1b66a /roles/bootstrap/vars/raspberry.yml
parenta36d4c2e61f2aaf9765bf4e9f8f0669707c54e48 (diff)
Fix raspberry install correct kernel/firmware using rpi-update
It can't be tested on mocked debian docker container, therefore disabling the testing for it
Diffstat (limited to 'roles/bootstrap/vars/raspberry.yml')
-rw-r--r--roles/bootstrap/vars/raspberry.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/roles/bootstrap/vars/raspberry.yml b/roles/bootstrap/vars/raspberry.yml
new file mode 100644
index 0000000..9915526
--- /dev/null
+++ b/roles/bootstrap/vars/raspberry.yml
@@ -0,0 +1,29 @@
+---
+bootstrap_distro:
+ name: "bookworm" # => Debian 12
+ mirror_url: "http://deb.debian.org/debian"
+ packages:
+ - "rpi-eeprom"
+ - "rpi-update"
+ - "fake-hwclock"
+ - "man-db"
+ - "manpages"
+ - "net-tools"
+ - "ntp"
+
+bootstrap_opts: "--arch=arm64"
+
+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"