Pelagicore / meta-pelux

PELUX is an open source, GENIVI compliant development platform that supports the Qt Automotive Suite
https://pelux.io
MIT License
39 stars 28 forks source link

grub-efi: strip unnecessary modules #375

Closed sashko closed 5 years ago

sashko commented 5 years ago

grub is by default built with the following modules: boot, linux, ext2, fat, serial, part_msdos, part_gpt, normal, efi_gop, iso9660, configfile, search, loadenv, test.

Many of those modules are not needed neither for PELUX, neither for a typical embedded Linux/IVI system.

Build grub-efi with necessary modules only to reduce binary size and threfore boot time.

Signed-off-by: Oleksandr Kravchuk oleksandr.kravchuk@pelagicore.com

sashko commented 5 years ago

Approving... but... is this worth it? How much time is saved?

Honestly, it is a very minor improvement, but easy to do.