Skip to content

Commit

Permalink
initrd_size_decrease: remove mlxsw_spectrum/mlxsw_core kernel modules
Browse files Browse the repository at this point in the history
This commit is part of the effort to decrease the initrd size:
Partially-Fixes: flatcar/Flatcar#1381

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
  • Loading branch information
ader1990 committed Mar 12, 2024
1 parent b2fe587 commit 3da9f85
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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)).
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3da9f85

Please sign in to comment.