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.
depends() {
# This module has external dependency on other module(s).
- echo dbus systemd-sysusers
+ echo systemd-sysusers
# Return 0 to include the dependent module(s) in the initramfs.
return 0
# Module dependency requirements.
depends() {
- # This module has external dependency on other module(s).
- echo dbus
# Return 0 to include the dependent module(s) in the initramfs.
return 0
depends() {
# This module has external dependency on other module(s).
- echo dbus systemd-sysusers
+ echo systemd-sysusers
# Return 0 to include the dependent module(s) in the initramfs.
return 0
# Module dependency requirements.
depends() {
- # This module has external dependency on other module(s).
- echo dbus
# Return 0 to include the dependent module(s) in the initramfs.
return 0
depends() {
# This module has external dependency on other module(s).
- echo dbus systemd-sysusers systemd-timedated
+ echo systemd-sysusers systemd-timedated
# Return 0 to include the dependent module(s) in the initramfs.
return 0