]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
fix(network-manager): depend on dbus only when using systemd
authorAndrew Gunnerson <accounts+github@chiller3.com>
Sun, 6 Jul 2025 04:21:53 +0000 (00:21 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Wed, 9 Jul 2025 01:32:31 +0000 (21:32 -0400)
commit58baf861c68b1f233da4c89d1a8a398ac307cb6c
treebc07fecb1d3e43e3c817092a687c36022ae42ebf
parent80db2e851aa93b9a5a5a1cff5dd08b173326350d
fix(network-manager): depend on dbus only when using systemd

network-manager does not require dbus to function when using the
--configure-and-quit=initrd option. This should be guaranteed as it is
documented behavior in the NetworkManager.conf(5) manpage and
specifically mentions dracut's use case.

With this change, initramfs images that don't or can't use systemd can
use network-manager instead of the old network-legacy module.

Fixes: #1422
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
modules.d/35network-manager/module-setup.sh