ridulfo / minima

An ultra-minimalistic Linux distribution built from scratch in Rust! 🔥
0 stars 0 forks source link

Make the kernel image smaller! 🐜 #1

Open ridulfo opened 1 month ago

ridulfo commented 1 month ago

The current kernel is much bigger than it has to be. We are using defconfig, which is way overkill for the current, and probably future, needs of the distribution.

Ideally, we should use tinyconfig with qemu-specific options enabled.

The goal is to have the kernel be under 10MB!

ridulfo commented 1 month ago

Manage to get it to 13MB (compressed 5MB) with 516c92a. There might still be room for improvement!