From b17214a4ae8c08f63269f3e23688750d6c3cc4fa Mon Sep 17 00:00:00 2001 From: Woomymy Date: Tue, 8 Oct 2024 22:14:16 +0200 Subject: [PATCH 1/2] base: Add kernel-core to reboot_needed list Some variants like Fedora Cloud ship only kernel-core without kernel-modules and the kernel metapackage --- dnf/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnf/base.py b/dnf/base.py index c1affc8cba..42075ff5e8 100644 --- a/dnf/base.py +++ b/dnf/base.py @@ -2837,7 +2837,7 @@ def reboot_needed(self): return False # List taken from DNF needs-restarting - need_reboot = frozenset(('kernel', 'kernel-rt', 'glibc', + need_reboot = frozenset(('kernel', 'kernel-rt', 'kernel-core', 'glibc', 'linux-firmware', 'systemd', 'dbus', 'dbus-broker', 'dbus-daemon')) changed_pkgs = self.transaction.install_set | self.transaction.remove_set From 9e8c93496eb43bab2c5d34eee50eb7b155715a23 Mon Sep 17 00:00:00 2001 From: Woomymy Date: Tue, 8 Oct 2024 22:35:51 +0200 Subject: [PATCH 2/2] AUTHORS: Add myself Signed-off-by: Woomymy --- AUTHORS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AUTHORS b/AUTHORS index 556856d5d6..4a2cf95940 100644 --- a/AUTHORS +++ b/AUTHORS @@ -103,3 +103,5 @@ DNF CONTRIBUTORS Will Woods Furkan Karcıoğlu Gary Leydon + Woomymy +