From: Norbert Lange Date: Fri, 17 Jul 2020 23:43:12 +0000 (+0200) Subject: package/systemd: remove SysV compatibility feature X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96f0d9969e6220154b39d9d80cda97998d41f670;p=buildroot.git package/systemd: remove SysV compatibility feature Systemd enables compatibility with SysV services and utmp by default, none of which is needed for buildroot as the packages' .mk will install only the files for the chosen init system. Furthermore, SysV support requires a setup where *both* /etc/init.d and /etc/rc.d exists (the latter for the usual /etc/rcN.d). However, in Buildroot, the latter does not exist; so we would not be able to provide a working SysV support anyway. So, just forcibly disable SysV support. Signed-off-by: Norbert Lange [yann.morin.1998@free.fr: - expand commit log - disable utmp in its own patch ] Signed-off-by: Yann E. MORIN --- diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 570841ebe3..733d170193 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -22,6 +22,8 @@ SYSTEMD_PROVIDES = udev SYSTEMD_CONF_OPTS += \ -Drootlibdir='/usr/lib' \ + -Dsysvinit-path= \ + -Dsysvrcnd-path= \ -Dblkid=true \ -Dman=false \ -Dima=false \