app-admin/needrestart: remove unused patch(es)
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Fri, 6 Mar 2020 07:50:14 +0000 (08:50 +0100)
committerCraig Andrews <candrews@gentoo.org>
Fri, 10 Apr 2020 20:38:10 +0000 (16:38 -0400)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14844
Signed-off-by: Craig Andrews <candrews@gentoo.org>
app-admin/needrestart/files/needrestart-3.1-gentoo-kernel-detection.patch [deleted file]

diff --git a/app-admin/needrestart/files/needrestart-3.1-gentoo-kernel-detection.patch b/app-admin/needrestart/files/needrestart-3.1-gentoo-kernel-detection.patch
deleted file mode 100644 (file)
index 6b8c221..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-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...');