From ecd5934d942b36733c9dcc44d5ba98aba2a1a526 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 11 Aug 2023 09:39:20 -0700 Subject: [PATCH] runtime-install: only pull in qcom-firmware on aarch64 See https://bugzilla.redhat.com/show_bug.cgi?id=2178852 . This should save a chunk of space on the installer images for x86_64. Signed-off-by: Adam Williamson --- share/templates.d/99-generic/runtime-install.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/share/templates.d/99-generic/runtime-install.tmpl b/share/templates.d/99-generic/runtime-install.tmpl index 0ae8bb53..93b76fb4 100644 --- a/share/templates.d/99-generic/runtime-install.tmpl +++ b/share/templates.d/99-generic/runtime-install.tmpl @@ -28,6 +28,8 @@ installpkg grubby ## https://bugzilla.redhat.com/show_bug.cgi?id=2011615 ## bfa-firmware contains only obsolete files - see ## https://bugzilla.redhat.com/show_bug.cgi?id=2152202 + ## qcom-firmware we pull in again lower down but *only* on aarch64, it is + ## no use on other arches - https://bugzilla.redhat.com/show_bug.cgi?id=2178852 ## various iwl package names were changed in linux-firmware-20230625-151 ## so need to be excluded or else dnf gets sad - see ## https://pagure.io/releng/issue/11511 . These exclusions can @@ -53,7 +55,8 @@ installpkg grubby --except iwlax2xx-firmware \ --except libertas-sd8686-firmware --except libertas-sd8787-firmware \ --except libertas-usb8388-firmware \ - --except libertas-usb8388-olpc-firmware + --except libertas-usb8388-olpc-firmware \ + --except qcom-firmware installpkg b43-openfwwf %endif @@ -67,6 +70,7 @@ installpkg glibc-all-langpacks installpkg grub2-tools>=${GRUB2VER} installpkg shim-aa64 installpkg uboot-tools + installpkg qcom-firmware %endif %if basearch == "x86_64": installpkg grub2-tools-efi>=${GRUB2VER} -- 2.41.0