From a0cca090a20fe7e32a05b8453a923afe3b6cfcfe Mon Sep 17 00:00:00 2001 From: fkDead Date: Thu, 26 Nov 2026 18:18:26 +0100 Subject: [PATCH] perf(iso): skip router firmware and optimized bytecode in releng --- configs/releng/pacman.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/releng/pacman.conf b/configs/releng/pacman.conf index 2b6615e..988575d 100644 --- a/configs/releng/pacman.conf +++ b/configs/releng/pacman.conf @@ -5,6 +5,14 @@ ParallelDownloads = 5 CheckSpace # Same exclusions as configs/baseline/pacman.conf (which overrides this file). NoExtract = usr/share/doc/* usr/share/gtk-doc/* boot/intel-ucode.img boot/amd-ucode.img +# Firmware of router and server chips, never found in a PC (~47 MiB): Qualcomm +# IPQ/QCN Wi-Fi SoCs, MediaTek Filogic access points (mt7996), NXP DPAA2, +# Chelsio and Broadcom NetXtreme II server cards, QLogic NetXen. build.sh adds +# the firmware versions the kernel never loads (scripts/firmware-noextract.py). +NoExtract = usr/lib/firmware/ath11k/IPQ* usr/lib/firmware/ath11k/QCN9074* usr/lib/firmware/ath12k/IPQ* usr/lib/firmware/ath12k/QCN9274* usr/lib/firmware/mediatek/mt7996/* usr/lib/firmware/dpaa2/* usr/lib/firmware/cxgb4/* usr/lib/firmware/bnx2x/* usr/lib/firmware/phanfw.bin* +# Bytecode for "python -O" only (~7 MiB): nothing runs Python that way, and +# the plain .pyc next to them stays. +NoExtract = usr/lib/python3*/__pycache__/*.opt-1.pyc usr/lib/python3*/__pycache__/*.opt-2.pyc SigLevel = Required DatabaseOptional LocalFileSigLevel = Optional