perf(iso): skip router firmware and optimized bytecode in baseline
Router and server chip firmware is never found in a PC (~47 MiB), and nothing runs Python with -O (~7 MiB).
This commit is contained in:
1 file changed
+8
@@ -32,6 +32,14 @@ Architecture = auto
|
||||
# initrd entry, no microcode hook) and archiso empties /boot in the image; the
|
||||
# installed system gets its microcode from /usr/lib/firmware via mkinitcpio.
|
||||
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
|
||||
|
||||
# Misc options
|
||||
#UseSyslog
|
||||
|
||||
Reference in new issue
Block a user