Skip to content

Conversation

@bleggett
Copy link
Contributor

@bleggett bleggett commented Aug 28, 2025

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.

Copy link
Contributor

@found-it found-it left a comment

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
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.

3 participants