Skip to content

Commit

Permalink
fedora: add dbus-broker to coreos-installer dracut modules
Browse files Browse the repository at this point in the history
With the sources update, the iot-simplified-installer in Fedora 40
started failing in the dracut stage with:

    dracut[I]: Module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found!
    dracut[E]: Module 'dbus' depends on 'dbus-daemon', which can't be installed
    dracut[E]: Module 'network-manager' depends on 'dbus', which can't be installed
    ...

This seems to be related to this change (which is included in dracut 060
in Fedora 40):
dracutdevs/dracut@3f8f115

The dbus dracut module has a dependency on either dbus-daemon or
dbus-broker.  In the past, simply installing dbus-broker was enough to
satisfy the dependency because the `find_binary` function would find the
dbus-broker binary.  The change to `check_module` requires the module to
be explicitly enabled, otherwise it falls back to dbus-daemon.
  • Loading branch information
achilleas-k committed May 16, 2024
1 parent 8ba878a commit 08ce0ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/manifest/coreos_installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ func (p *CoreOSInstaller) serialize() osbuild.Pipeline {
p.AdditionalDracutModules,
"coreos-installer",
"fdo",
"dbus-broker",
)

dracutStageOptions := dracutStageOptions(p.kernelVer, p.Biosdevname, dracutModules)
Expand Down

0 comments on commit 08ce0ef

Please sign in to comment.