scaleway / image-tools

:nut_and_bolt: Scripts used to create Images on Scaleway - https://github.com/scaleway-community
https://github.com/scaleway-community
MIT License
117 stars 36 forks source link

Consider not download automatically (all) kernel modules #170

Open moul opened 8 years ago

moul commented 8 years ago

On some kernels, we have about 470MB of optional kernel modules.

On the on the Alpine Linux image, it is ridiculusly 15 times higher than the 30MB original image size :flushed:.


Potential ways of optimization:

cc @QuentinPerez, @brmzkw, @bchatelard, @aimxhaisse

ElNounch commented 8 years ago

A PoC using CephFs, mounting /lib/modules read-only. https://github.com/scaleway/image-tools/compare/master...ElNounch:PoC-CephFs-KernelModules

moul commented 8 years ago

@ElNounch, you're awesome

Thank you for this PoC, we will discuss it internally, but I clearly like the idea

And thank you for the other non-POC related updated (typos, init script headers)