From c13c40b14c07b499ad45d61a828242a4adbe5137 Mon Sep 17 00:00:00 2001 From: Klaas Demter Date: Tue, 15 Oct 2024 11:58:15 +0200 Subject: [PATCH] Update need_reboot for dnf-automatic The need_reboot from dnf-automatic did not match NEED_REBOOT from needs-restarting. --- dnf/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnf/base.py b/dnf/base.py index 13222407aa..fe9e8a05bf 100644 --- a/dnf/base.py +++ b/dnf/base.py @@ -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)