From bd2cb308854a5ec9f438c0604a47a5eef6880d92 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 11 Aug 2025 00:33:36 +0200 Subject: 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 --- roles/bootstrap/vars/raspberry.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 roles/bootstrap/vars/raspberry.yml (limited to 'roles/bootstrap/vars/raspberry.yml') 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" -- cgit v1.2.3