initrd_size_decrease: remove mlxsw_spectrum/mlxsw_core kernel modules

This commit is part of the effort to decrease the initrd size:
Partially-Fixes: https://github.com/flatcar/Flatcar/issues/1381

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
This commit is contained in:
Adrian Vladu 2024-03-06 11:28:42 +00:00
parent b2fe587e6e
commit 3da9f859be
2 changed files with 1 additions and 2 deletions

View File

@ -0,0 +1 @@
- Removed Linux drivers for Mellanox Technologies Switch ASICs family and Spectrum/Spectrum-2/Spectrum-3/Spectrum-4 Ethernet Switch ASICs to reduce the initrd size on AMD64 by ~5MB ([flatcar/scripts#1734](https://github.com/flatcar/scripts/pull/1734)). This change is part of the effort to reduce the initrd size ([flatcar/flatcar/issues#1381](https://github.com/flatcar/Flatcar/issues/1381)).

View File

@ -81,8 +81,6 @@ CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_MEM_SOFT_DIRTY=y
CONFIG_MICROSOFT_MANA=m
CONFIG_MLXSW_CORE=m
CONFIG_MLXSW_SPECTRUM=m
CONFIG_MMC_SDHCI_ACPI=m
# CONFIG_MOUSE_PS2_LIFEBOOK is not set
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1