Skip to content

Strip modules - #117

Merged
bleggett merged 1 commit into
mainfrom
bleggett/strip-modules
Aug 28, 2025
Merged

bleggett merged 1 commit into
mainfrom
bleggett/strip-modules

Conversation

@bleggett

@bleggett bleggett commented Aug 28, 2025 •

Copy link
Copy Markdown
Contributor

Since the host kernel builds with (quite a few) more modules than the zone kernel, enabling BTF (which requires kernel debugging, which adds symbols to everything) really bloats the kernel size as @found-it noticed.

So, let's try doing what normal people do and strip the debuginfo by default from all the modules and see what that saves us.

Also adds a new sizegate to CI for the host kernel like we have for the zone kernel, which will fail the CI if the host kernel goes over 400MB.

@found-it found-it left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve, but would like input from @azenla and @kaniini

@bleggett
bleggett merged commit 14f2251 into main Aug 28, 2025
1 check passed
@bleggett

Copy link
Copy Markdown
Contributor Author

Ok, that looks better.

@azenla
azenla deleted the bleggett/strip-modules branch August 28, 2025 21:21
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.

2 participants