runtime-install: Only install qcom-firmware on aarch64

This saves space on the other arches.
Based on lorax commit b81280b3e03b610ebf7a365cacab62806fca0e37

Related: RHEL-44311
This commit is contained in:
Brian C. Lane 2024-06-21 17:32:14 -07:00 committed by Brian C. Lane
parent b2ea09edbb
commit 72e534fa7c

View File

@ -35,6 +35,7 @@ installpkg grubby
## https://bugzilla.redhat.com/show_bug.cgi?id=2011615 ## https://bugzilla.redhat.com/show_bug.cgi?id=2011615
## bfa-firmware contains only obsolete files - see ## bfa-firmware contains only obsolete files - see
## https://bugzilla.redhat.com/show_bug.cgi?id=2152202 ## https://bugzilla.redhat.com/show_bug.cgi?id=2152202
## Only install qcom-firmware on aarch64
installpkg --optional *-firmware --except alsa* --except midisport-firmware \ installpkg --optional *-firmware --except alsa* --except midisport-firmware \
--except crystalhd-firmware --except ivtv-firmware \ --except crystalhd-firmware --except ivtv-firmware \
--except cx18-firmware --except iscan-firmware \ --except cx18-firmware --except iscan-firmware \
@ -43,7 +44,7 @@ installpkg grubby
--except liquidio-firmware --except netronome-firmware \ --except liquidio-firmware --except netronome-firmware \
--except mrvlprestera-firmware --except mlxsw_spectrum-firmware \ --except mrvlprestera-firmware --except mlxsw_spectrum-firmware \
--except hackrf-firmware --except python-virt-firmware \ --except hackrf-firmware --except python-virt-firmware \
--except python3-virt-firmware --except python3-virt-firmware --except qcom-firmware
%endif %endif
## install all of the glibc langpacks since otherwise we get no locales ## install all of the glibc langpacks since otherwise we get no locales
@ -55,6 +56,7 @@ installpkg glibc-all-langpacks
installpkg grub2-efi-aa64-cdboot>=${GRUB2VER} installpkg grub2-efi-aa64-cdboot>=${GRUB2VER}
installpkg grub2-tools>=${GRUB2VER} installpkg grub2-tools>=${GRUB2VER}
installpkg shim-aa64 installpkg shim-aa64
installpkg qcom-firmware
%endif %endif
%if basearch == "x86_64": %if basearch == "x86_64":
installpkg grub2-tools-efi>=${GRUB2VER} installpkg grub2-tools-efi>=${GRUB2VER}