+++ /dev/null
-From bbd98c32fb5d33f42d1b9257f55a07d62b8de164 Mon Sep 17 00:00:00 2001
-From: Craig Andrews <candrews@integralblue.com>
-Date: Mon, 7 May 2018 11:28:33 -0400
-Subject: [PATCH] [Kernel] Include /boot/kernel* while looking for linux kernel
- images
-
-Fixes kernel detection on Gentoo
----
- perl/lib/NeedRestart/Kernel/Linux.pm | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/perl/lib/NeedRestart/Kernel/Linux.pm b/perl/lib/NeedRestart/Kernel/Linux.pm
-index 6f284f3..69a919c 100644
---- a/perl/lib/NeedRestart/Kernel/Linux.pm
-+++ b/perl/lib/NeedRestart/Kernel/Linux.pm
-@@ -131,7 +131,7 @@ sub nr_kernel_check_real($$) {
- } grep {
- # filter initrd images
- (!m@^/boot/init@);
-- } (</boot/vmlinu*>, </boot/*.img>);
-+ } (</boot/vmlinu*>, </boot/*.img>, </boot/kernel*>);
-
- $ui->progress_prep(scalar keys %kfiles, __ 'Scanning linux images...');
-