From 4472a91a04c22b288e6f9a08090a00834e8cd7f0 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Fri, 6 Mar 2020 08:50:14 +0100 Subject: [PATCH] app-admin/needrestart: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/14844 Signed-off-by: Craig Andrews --- ...drestart-3.1-gentoo-kernel-detection.patch | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 app-admin/needrestart/files/needrestart-3.1-gentoo-kernel-detection.patch 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 index 6b8c221098b3..000000000000 --- a/app-admin/needrestart/files/needrestart-3.1-gentoo-kernel-detection.patch +++ /dev/null @@ -1,24 +0,0 @@ -From bbd98c32fb5d33f42d1b9257f55a07d62b8de164 Mon Sep 17 00:00:00 2001 -From: Craig Andrews -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@); -- } (, ); -+ } (, , ); - - $ui->progress_prep(scalar keys %kfiles, __ 'Scanning linux images...'); - -- 2.26.2