From 94b377ac8f28fff2ae3d59d3b697e4ae61d3cb9b 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnf/base.py b/dnf/base.py index 13222407aa..168207b5f4 100644 --- a/dnf/base.py +++ b/dnf/base.py @@ -2832,8 +2832,8 @@ 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')) + 'linux-firmware', 'systemd', 'dbus', + '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)