Skip to content

Commit

Permalink
Update need_reboot for dnf-automatic
Browse files Browse the repository at this point in the history
The need_reboot from dnf-automatic did not match NEED_REBOOT from
needs-restarting.
  • Loading branch information
Klaas- authored and evan-goode committed Dec 11, 2024
1 parent 2a1046f commit c13c40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2833,7 +2833,7 @@ def reboot_needed(self):
# List taken from DNF needs-restarting
need_reboot = frozenset(('kernel', 'kernel-rt', 'glibc',
'linux-firmware', 'systemd', 'dbus',
'dbus-broker', 'dbus-daemon'))
'dbus-broker', 'dbus-daemon', 'microcode_ctl'))
changed_pkgs = self.transaction.install_set | self.transaction.remove_set
return any(pkg.name in need_reboot for pkg in changed_pkgs)

Expand Down

0 comments on commit c13c40b

Please sign in to comment.