Exclude unused firmware from package selection.

The sound, video and scanner firmware packages were removed during
cleanup. Instead, do not install them to begin with.

uhd-firmware is an addon package for a software radio tool and not
kernel firmware at all. Besides being 86MB on its own, it pulls in boost
and Tk, so leave all of that out.
This commit is contained in:
David Shea 2016-03-16 11:32:20 -04:00
parent 9612f9e16f
commit d798497b5b
2 changed files with 8 additions and 8 deletions

View File

@ -11,11 +11,7 @@ remove usr/share/i18n
removepkg perl* removepkg perl*
%endif %endif
## no sound support, thanks ## no sound support, thanks
## ...except alsa-libs, which are needed by spice-vdagent removepkg flac gstreamer-tools libsndfile pulseaudio* sound-theme-freedesktop
removepkg alsa-*firmware* flac gstreamer-tools libsndfile pulseaudio* sound-theme-freedesktop
removepkg midisport-firmware
## no fancy video, either
removepkg libcrystalhd crystalhd-firmware ivtv-firmware cx18-firmware
## we don't create new initramfs/bootloader conf inside anaconda ## we don't create new initramfs/bootloader conf inside anaconda
## (that happens inside the target system after we install dracut/grubby) ## (that happens inside the target system after we install dracut/grubby)
removepkg dracut-network grubby anaconda-dracut removepkg dracut-network grubby anaconda-dracut
@ -48,8 +44,6 @@ removepkg usermode usermode-gtk passwd
removefrom chkconfig --allbut /etc/init.d removefrom chkconfig --allbut /etc/init.d
## Miscellanous unnecessary gpg program ## Miscellanous unnecessary gpg program
removepkg pinentry removepkg pinentry
## no printer/scanner support in anaconda
removepkg cups-libs iscan-firmware
## no storage device monitoring ## no storage device monitoring
removepkg device-mapper-event dmraid-events sgpio removepkg device-mapper-event dmraid-events sgpio
## no notifications in anaconda ## no notifications in anaconda

View File

@ -20,7 +20,13 @@ installpkg pigz
installpkg kernel kernel-modules kernel-modules-extra installpkg kernel kernel-modules kernel-modules-extra
installpkg grubby installpkg grubby
%if basearch != "s390x": %if basearch != "s390x":
installpkg *-firmware ## skip the firmware for sound, video, and scanners, none of which will
## do much good for the installer. Also skip uhd-firmware which is not
## even a kernel firmware package.
installpkg *-firmware --except alsa* --except midisport-firmware \
--except crystalhd-firmware --except ivtv-firmware \
--except cx18-firmware --except iscan-firmware \
--except uhd-firmware
installpkg b43-openfwwf installpkg b43-openfwwf
%endif %endif