Workaround for #1084791

There is a file conflict in the non-free-firmware realtek packages,
which prevent the sid live images from being built.

This workaround will be removed a soon as the bug is resolved.
This commit is contained in:
Roland Clobus 2024-10-26 10:36:31 +02:00 committed by Luca Boccassi
parent 48e4864fde
commit bb7e9e6368
1 changed files with 8 additions and 0 deletions

View File

@ -90,6 +90,14 @@ Firmware_List_From_Contents () {
then
BLOCKLIST_FIRMWARE="${BLOCKLIST_FIRMWARE} amd64-microcode firmware-intel-sound firmware-sof-signed intel-microcode"
fi
# Work around #1084791 (File conflict between firmware-realtek and firmware-realtek-rtl8723cs-bt)
# TODO: This work around must be removed as soon as the bug is fixed
if In_list non-free-firmware/kernel/firmware-realtek ${FIRMWARE_PACKAGES} \
&& In_list non-free-firmware/kernel/firmware-realtek-rtl8723cs-bt ${FIRMWARE_PACKAGES} \
&& In_list ${DISTRO_CHROOT} sid unstable
then
BLOCKLIST_FIRMWARE="${BLOCKLIST_FIRMWARE} firmware-realtek-rtl8723cs-bt"
fi
# Deduplicate the list and prepare for easier manipulation by having each package on its own line
local _FIRMWARE_PACKAGES_FILE=tmp_firmware_packages.txt