[systemd-devel] Optimizing systemd binaries for small deployments

Cristian Rodríguez crrodriguez at opensuse.org
Wed Mar 27 10:25:31 PDT 2013


El 27/03/13 07:49, Tino Breddin escribió:
> Hi there,
>
> We are in the process of creating a very small image for devices with a maximum of 4MB flash. Compared to a SysV variant which clocks in at ~1MB using Systemd
> we are currently getting images sizes of ~10MB. At first glance the systemd binaries seem quite large. Before diving into lots of optimization I wanted to ask
> whether anybody has pointers we should follow or even experience using systemd for bare minimum images.

Assuming you already disabled debug info and understood that systemd 
replaces more than init and has a lot of command line switches to 
disable functionality you may not need...then yes go ahead with ideas.


However I think you are doing something wrong, openSUSE's fully featured 
systemd package is 4.4 MB in size including the rpm metadata.





More information about the systemd-devel mailing list