eclipse-leda / leda-distro

Eclipse Leda provides a Yocto-based build setup for SDV.EDGE components
https://eclipse-leda.github.io/leda/
Apache License 2.0
14 stars 8 forks source link

Image for qemux86_64 contains potentially unnecessary grub tools #28

Closed mikehaller closed 1 year ago

mikehaller commented 1 year ago

Doing a filesystem search on the sdv-image-all, it reveals some binaries which are larger than 1mb and may be unnecessary:

/usr/sbin/grub-install 1588 KB
/usr/sbin/grub-sparc64-setup 1300 KB
/usr/sbin/grub-probe 1300 KB
/usr/sbin/grub-bios-setup 1296 KB
/usr/sbin/grub-macbless 1280 KB
/usr/bin/grub-mkrescue 1260 KB
/usr/bin/grub-fstest 1204 KB
...

To save disk space, each should be checked whether it is necessary for the function of SDV.EDGE stack and be removed if not needed.

A quick test shows these binaries which must not be removed:

mikehaller commented 1 year ago

Grub has been replaced with U-Boot in PR https://github.com/eclipse-leda/meta-leda/pull/128