-
Notifications
You must be signed in to change notification settings - Fork 1
Bring the PAYG UKI below 100MB, plus some other PAYG fixes #179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM!
Only the typo :)
doc/howto/debug-initramfs.md
Outdated
|
||
The UKI is only used for PAYG devices. | ||
|
||
Note that building the UKI is only possible within Endless. But uou can find |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uou -> you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good spot!
- freedesktop-sdk.bst:components/dracut.bst | ||
- freedesktop-sdk.bst:components/ostree.bst | ||
- freedesktop-sdk.bst:components/python3-pefile.bst | ||
- freedesktop-sdk.bst:components/zstd.bst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this addition intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, as the initramfs is zstd compressed, but i didnt put that in the commit message. will update
1d3fcd2
to
8d54ab1
Compare
Updated with some small changes, I'll merge once the CI is complete. |
Dracut errors were not being correctly detected. Add zstd, which is needed for compression.
This allows signing to happen on many cores in parallel.
This matches the eos6 kernel build which does not compress modules. They will still be compressed within the initramfs (which is compressed with zstd as a single blob) and within the ostree (where each object is gzipped individually).
8d54ab1
to
81f07e9
Compare
Updated again to resolve conflicts after landing #180 |
Main thing in this PR is disabling kernel debug symbols, which brings the size of
payg-image.efi
down from 392MB to 98.2MB. This is below the 100MB limit imposed by the sb-signer (just).About re-enabling kernel debug symbols, see tracking issues #176 and #178.
Other changes in this PR: