3 ms·
Wait, people are using Systemd on embedded Linux? You go out of your way to replace the Linux userland with a single small binary, and possibly go through the t
by pepijndevos 11y ago
Wait, people are using Systemd on embedded Linux?
You go out of your way to replace the Linux userland with a single small binary, and possibly go through the trouble of using a small libc implementation, and then you install this mammoth called systemd.
- Matthias247 11y agoEmbedded is not embedded: Theres the really deeply embedded systems running on tiny processors which probably only run a single binary and are never updated. And then there are big systems (think cellphones, automotive infotainment, etc.) running on quad core procoessors where you have dozens of processes, which might even be independently installed or updated. For those kind of systems you really want a sophisticated init system, and the cost of systemd is probably minimal compared to the instances of chromium/webkit/blink that you might already have on your system.
- JdeBP 11y agoYes, and this has been one of the ways to configure uClibc buildroot for some years, now. * http://superuser.com/a/699401/38062 http://superuser.com/a/699401/38062 * http://buildroot.uclibc.org/downloads/manual/manual.html#_init_system http://buildroot.uclibc.org/downloads/manual/manual.html#_in... One might think that the technical changes here are "completely insignificant", but in fact there has been quite a lot of interaction between systemd and the BusyBox world over the years. With those as context, the headlined patch appears in rather a different perspective. Some examples: * Davide Cavalca's patches from 2011 adding socket inheritance to BusyBox's syslogd, some options to hwclock, and some units: http://lists.busybox.net/pipermail/busybox/2011-January/074358.html http://lists.busybox.net/pipermail/busybox/2011-January/0743... * Davide Cavalca's patches from 2012 disabling some log services in favour of the systemd journal: http://openbricks-commits.narkive.com/jCnYGx8H/r13814-busybox-disable-syslogd-and-klogd-obsoleted-by-syste http://openbricks-commits.narkive.com/jCnYGx8H/r13814-busybo... * Peter Korsgaard's patch to avahi for BusyBox-rootfs disabling things that uClibc did not have, from 2010: https://github.com/enclustra-bsp/busybox-rootfs/blob/4e302ac83d89fd370cab96ffa30ad406dd104ec0/package/avahi/avahi-disable-systemd-support.patch https://github.com/enclustra-bsp/busybox-rootfs/blob/4e302ac... * Peter Seiderer's patch adding a PostgreSQL systemd unit to uClibc buildroot in 2014: http://lists.busybox.net/pipermail/buildroot/2014-May/097163.html http://lists.busybox.net/pipermail/buildroot/2014-May/097163... ( approved in 2015: http://git.buildroot.net/buildroot/commit/?id=828d7b2f0d22885c70e50b247b79268101c5bed1 http://git.buildroot.net/buildroot/commit/?id=828d7b2f0d2288... ) * Albert Antony's BusyBox patch from 2015 to add crond.service: http://permalink.gmane.org/gmane.comp.embedded.ptxdist.devel/13112 http://permalink.gmane.org/gmane.comp.embedded.ptxdist.devel... * Denys Vlasenko is the person removing the ability for syslogd to inherit its socket (via a systemd mechanism) in the headlined patch. Here is the very same person adding that same code in the first place, back in 2011: http://git.busybox.net/busybox/commit/?id=9b3b9790b32d440eb89af5edda70a66b1829e861 http://git.busybox.net/busybox/commit/?id=9b3b9790b32d440eb8...