Skip to content

Reduce vmlinuz size #688

@pothos

Description

@pothos

Description

The boot partition has to fit both kernels on update. If both are > 60 MiB they won't fit. Therefore, we always have to ensure that the vmlinuz file is < 60 MiB. On arm64 we are closely approaching the limit (new Alpha has a ~57 MiB vmlinuz).

Impact

To avoid hitting the size limit we may have to block a security update.
And of course updates will break for users if we release with a too large vmlinuz file.

Environment and steps to reproduce

See end of the console output of the image-matrix job

Expected behavior

Have some MiBs wiggle room, on amd64 we have a ~54 MiB vmlinuz - while not perfect it's still double the margin

Additional information

Compression was adjusted last time, and we couldn't enable it more at that time. This time it's worth to check if we can throw binaries/kernel modules out of the initramfs (planned is torcx for example, but I don't think the impact on the initramfs will be that large?).

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

Status

Implemented

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions