Add 'bluez-firmware' package to images
All RPi models which have wireless, also have bluetooth, so add the firmware package to those images so that the hardware is supported. Also remove the 'Extra' from the wireless firmware comment.
This commit is contained in:
parent
e522ff5f15
commit
6f016aa1ab
|
@ -61,12 +61,18 @@ else:
|
|||
firmware_component = 'non-free'
|
||||
firmware_component_old = ''
|
||||
|
||||
# Extra wireless firmware:
|
||||
# wireless firmware:
|
||||
if version != '2':
|
||||
wireless_firmware = 'firmware-brcm80211'
|
||||
else:
|
||||
wireless_firmware = ''
|
||||
|
||||
# bluetooth firmware:
|
||||
if version != '2':
|
||||
bluetooth_firmware = 'bluez-firmware'
|
||||
else:
|
||||
bluetooth_firmware = ''
|
||||
|
||||
# Pi 4 on buster requires some backports:
|
||||
backports_enable = False
|
||||
backports_suite = '%s-backports' % suite
|
||||
|
@ -179,6 +185,7 @@ with open('raspi_master.yaml', 'r') as in_file:
|
|||
.replace('__SYSTEMD_TIMESYNCD__', systemd_timesyncd) \
|
||||
.replace('__RASPI_FIRMWARE__', raspi_firmware) \
|
||||
.replace('__WIRELESS_FIRMWARE__', wireless_firmware) \
|
||||
.replace('__BLUETOOTH_FIRMWARE__', bluetooth_firmware) \
|
||||
.replace('__SERIAL_CONSOLE__', serial) \
|
||||
.replace('__HOST__', hostname) \
|
||||
.replace('__TOUCH_MACHINE_ID__', touch_machine_id) \
|
||||
|
|
|
@ -80,6 +80,7 @@ steps:
|
|||
- __LINUX_IMAGE__
|
||||
- __RASPI_FIRMWARE__
|
||||
- __WIRELESS_FIRMWARE__
|
||||
- __BLUETOOTH_FIRMWARE__
|
||||
tag: tag-root
|
||||
unless: rootfs_unpacked
|
||||
|
||||
|
|
Loading…
Reference in New Issue