From 49190376ce1fa7d95e3cdf821ba1d27532946173 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 11 Sep 2020 12:34:59 -0700 Subject: [PATCH] Drop dpaa2 firmware on non-aarch64 arches AFAICS, the devices that need these firmwares - various boards built by NXP, https://www.nxp.com - are all aarch64. So we don't need to carry these firmware files in the installer env for other arches. Signed-off-by: Adam Williamson --- share/templates.d/99-generic/runtime-cleanup.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl index 52a332d2..e5351b59 100644 --- a/share/templates.d/99-generic/runtime-cleanup.tmpl +++ b/share/templates.d/99-generic/runtime-cleanup.tmpl @@ -267,6 +267,9 @@ removefrom linux-firmware /usr/lib/firmware/as102* removefrom linux-firmware /usr/lib/firmware/qcom/venus*/* removefrom linux-firmware /usr/lib/firmware/meson/vdec/* removefrom linux-firmware /usr/lib/firmware/mellanox/mlxsw_spectrum* +%if basearch != "aarch64": + removefrom linux-firmware /usr/lib/firmware/dpaa2/* +%endif removefrom lldpad /etc/* removefrom lua /usr/bin/* removefrom madan-fonts /usr/share/fonts/madan/*