]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
fix(systemd): make dbus optional dependency
authorJo Zzsi <jozzsicsataban@gmail.com>
Fri, 19 Sep 2025 23:05:05 +0000 (19:05 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Mon, 22 Sep 2025 13:35:17 +0000 (09:35 -0400)
commitfdfa899895d53d5aa1a6821e308743d38f5c6456
tree0f0fda7ef105052430f46c2b10c11141115fb12d
parent541c4546570c8a9c05fa46fe647c67446b857202
fix(systemd): make dbus optional dependency

Remove dbus as a mandatory dependency for the following
dracut modules
 - systemd-hostnamed
 - systemd-portabled
 - systemd-resolved
 - systemd-timedated
 - systemd-timesyncd

Users and distributions can still include dbus dracut module in the
initramfs as before, but now dbus dracut module is required to
be explicitly added in the dracut configuration.

The motivation of this change is to allow users and distributions
to exclude dbus from the initramfs.
modules.d/11systemd-hostnamed/module-setup.sh
modules.d/11systemd-portabled/module-setup.sh
modules.d/11systemd-resolved/module-setup.sh
modules.d/11systemd-timedated/module-setup.sh
modules.d/11systemd-timesyncd/module-setup.sh