Skip to content

Commit

Permalink
base: Add kernel-core to reboot_needed list
Browse files Browse the repository at this point in the history
Some variants like Fedora Cloud ship only kernel-core without
kernel-modules and the kernel metapackage
  • Loading branch information
Woomymy authored and ppisar committed Oct 15, 2024
1 parent 8d888d2 commit 07ad361
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 @@ -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
Expand Down

0 comments on commit 07ad361

Please sign in to comment.