Skip to content

initrd_size_decrease: remove mlxsw_spectrum/mlxsw_core kernel modules#1734

Merged
ader1990 merged 1 commit intomainfrom
ader1990/decrease_initrd_size_v1
Mar 12, 2024
Merged

initrd_size_decrease: remove mlxsw_spectrum/mlxsw_core kernel modules#1734
ader1990 merged 1 commit intomainfrom
ader1990/decrease_initrd_size_v1

Conversation

@ader1990
Copy link
Copy Markdown
Contributor

@ader1990 ader1990 commented Mar 6, 2024

This commit is part of the effort to decrease the initrd size: Partially-Fixes: flatcar/Flatcar#1381

mlxsw_spectrum/mlxsw_core are kernel modules that enable Mellanox Technologies Switch ASICs support.
Removing the two modules frees ~5MB in the /boot partition and ~4MB in the vmlinuz.
/dev/vda1 129039 59962 69078 47% /boot with the removal on AMD64.

See discussion: #1731 (comment)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 6, 2024

Build action triggered: https://github.com/flatcar/scripts/actions/runs/8252574217

@ader1990 ader1990 marked this pull request as ready for review March 11, 2024 11:35
@jepio
Copy link
Copy Markdown
Member

jepio commented Mar 12, 2024

@ader1990 can you add a changelog entry?

@ader1990 ader1990 force-pushed the ader1990/decrease_initrd_size_v1 branch from 0ece7b1 to 381bac3 Compare March 12, 2024 15:01
@ader1990
Copy link
Copy Markdown
Contributor Author

@ader1990 can you add a changelog entry?

added.

@ader1990 ader1990 requested review from jepio and pothos March 12, 2024 16:33
@jepio
Copy link
Copy Markdown
Member

jepio commented Mar 12, 2024

Can you follow the example of other changelog entries and add a link to the PR? That way it's cross referenced and people can discover the motivation for a change (here: "reducing the size of the initrd").

@jepio
Copy link
Copy Markdown
Member

jepio commented Mar 12, 2024

And then feel free to merge directly since Kai already gave his approval.

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>
@ader1990 ader1990 force-pushed the ader1990/decrease_initrd_size_v1 branch from 381bac3 to 3da9f85 Compare March 12, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFE] Flatcar boot partition size shrink effort

3 participants