You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently UKI can suffer of hard limit on the EFI files meant to be booted. This is problematic as we hit systemd/systemd#25911 when trying to build big images.
Describe the solution you'd like
In order to optimize the size of the images, we should try to reduce the image size of the golang binaries we bundle in the image, for instance:
Is your feature request related to a problem? Please describe.
Currently UKI can suffer of hard limit on the EFI files meant to be booted. This is problematic as we hit systemd/systemd#25911 when trying to build big images.
Describe the solution you'd like
In order to optimize the size of the images, we should try to reduce the image size of the golang binaries we bundle in the image, for instance:
Also, similarly we can try to compress the k3s binary as well.
Describe alternatives you've considered
N/A
Additional context
This is partially related to #2283, but that story is just about the ubuntu base image dependencies.
To strip binaries, we need to change how we build/package them in kairos-io/packages.
Build phase:
During build, we can specify the -w and -s build flags that strip part of the debug symbols, for instance:
For compressing I suggest to use upx right after build. For example:
The text was updated successfully, but these errors were encountered: