firmware: Exclude installation of audio firmware

Audio is not needed on the boot.iso, and now that the firmware package
has been split up it is easier to remove specific firmware completely.

Related: RHEL-44311
This commit is contained in:
Brian C. Lane 2024-06-26 07:55:35 -07:00 committed by Brian C. Lane
parent 4213d895e0
commit 0b706d6f5d
2 changed files with 5 additions and 9 deletions

View File

@ -197,12 +197,6 @@ removefrom libnotify /usr/bin/*
removefrom libsemanage /etc/selinux/*
removefrom libstdc++ /usr/share/*
removefrom libxml2 /usr/bin/*
removefrom dvb-firmware /usr/lib/firmware/dvb*
removefrom dvb-firmware /usr/lib/firmware/*_12mhz*
removefrom dvb-firmware /usr/lib/firmware/v4l*
removefrom dvb-firmware /usr/lib/firmware/av7110/*
removefrom dvb-firmware /usr/lib/firmware/lgs8g75.fw*
removefrom dvb-firmware /usr/lib/firmware/as102*
removefrom brcmfmac-firmware /usr/lib/firmware/brcm/BCM-*
removefrom linux-firmware /usr/lib/firmware/ttusb-budget/dspbootcode.bin*
removefrom linux-firmware /usr/lib/firmware/emi26/*
@ -219,8 +213,6 @@ removefrom linux-firmware /usr/lib/firmware/tlg2300_firmware.bin*
removefrom linux-firmware /usr/lib/firmware/s5p-mfc*
removefrom linux-firmware /usr/lib/firmware/go7007/*
removefrom linux-firmware /usr/lib/firmware/intel/IntcSST2.bin*
removefrom intel-audio-firmware /usr/lib/firmware/intel/fw_sst*
removefrom intel-audio-firmware /usr/lib/firmware/intel/dsp*
removefrom qcom-firmware /usr/lib/firmware/qcom/apq8096/*
removefrom qcom-firmware /usr/lib/firmware/qcom/sdm845/*
removefrom qcom-firmware /usr/lib/firmware/qcom/sm8250/*

View File

@ -36,6 +36,7 @@ installpkg grubby
## bfa-firmware contains only obsolete files - see
## https://bugzilla.redhat.com/show_bug.cgi?id=2152202
## Only install qcom-firmware on aarch64
## Exclude the audio firmware which is unused on the boot.iso
installpkg --optional *-firmware --except alsa* --except midisport-firmware \
--except crystalhd-firmware --except ivtv-firmware \
--except cx18-firmware --except iscan-firmware \
@ -44,7 +45,10 @@ installpkg grubby
--except liquidio-firmware --except netronome-firmware \
--except mrvlprestera-firmware --except mlxsw_spectrum-firmware \
--except hackrf-firmware --except python-virt-firmware \
--except python3-virt-firmware --except qcom-firmware
--except python3-virt-firmware --except qcom-firmware \
--except dvb-firmware --except intel-vsc-firmware \
--except cirrus-audio-firmware --except intel-audio-firmware
%endif
## install all of the glibc langpacks since otherwise we get no locales