summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Brulebois <cyril@debamax.com>2023-06-13 21:18:00 +0200
committerCyril Brulebois <cyril@debamax.com>2023-06-13 21:18:01 +0200
commit5a28d3fe997cbf52818b74ebe2e7fb5c8eb03632 (patch)
tree4cbc4e4205458da900db112f08388867fe499377
parent1b8275894e3e6516be7f18185372ea8e955b613f (diff)
Simplify raspi-firmware management.
raspi3-firmware was buster-only.
-rwxr-xr-xgenerate-recipe.py2
-rw-r--r--raspi_master.yaml2
2 files changed, 1 insertions, 3 deletions
diff --git a/generate-recipe.py b/generate-recipe.py
index 278c6ca..7256675 100755
--- a/generate-recipe.py
+++ b/generate-recipe.py
@@ -41,7 +41,6 @@ elif version in ['3', '4']:
dtb = '/usr/lib/linux-image-*-arm64/broadcom/bcm*rpi*.dtb'
# APT and default firmware (name + handling)
-raspi_firmware = 'raspi-firmware'
fix_firmware = False
# Bookworm introduced the 'non-free-firmware' component¹; before that,
@@ -157,7 +156,6 @@ with open('raspi_master.yaml', 'r') as in_file:
.replace('__LINUX_IMAGE__', linux) \
.replace('__DTB__', dtb) \
.replace('__SYSTEMD_TIMESYNCD__', systemd_timesyncd) \
- .replace('__RASPI_FIRMWARE__', raspi_firmware) \
.replace('__WIRELESS_FIRMWARE__', wireless_firmware) \
.replace('__BLUETOOTH_FIRMWARE__', bluetooth_firmware) \
.replace('__SERIAL_CONSOLE__', serial) \
diff --git a/raspi_master.yaml b/raspi_master.yaml
index 3638486..1bf7779 100644
--- a/raspi_master.yaml
+++ b/raspi_master.yaml
@@ -79,7 +79,7 @@ steps:
- wpasupplicant
- __SYSTEMD_TIMESYNCD__
- __LINUX_IMAGE__
- - __RASPI_FIRMWARE__
+ - raspi-firmware
- __WIRELESS_FIRMWARE__
- __BLUETOOTH_FIRMWARE__
tag: tag-root