commit: 6388dbe41ac1ff266f9caee1112e188f9bfb7f60 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Sat Sep 26 14:33:51 2020 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Sep 27 00:14:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6388dbe4
app-backup/rear: remove unused patch(es) Closes: https://github.com/gentoo/gentoo/pull/17682 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../rear-1.15-add-support-for-gentoo-kernels.patch | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/app-backup/rear/files/rear-1.15-add-support-for-gentoo-kernels.patch b/app-backup/rear/files/rear-1.15-add-support-for-gentoo-kernels.patch deleted file mode 100644 index 60868541867..00000000000 --- a/app-backup/rear/files/rear-1.15-add-support-for-gentoo-kernels.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/usr/share/rear/pack/Linux-i386/30_copy_kernel.sh b/usr/share/rear/pack/Linux-i386/30_copy_kernel.sh -index 6816f37..ec437e4 100644 ---- a/usr/share/rear/pack/Linux-i386/30_copy_kernel.sh -+++ b/usr/share/rear/pack/Linux-i386/30_copy_kernel.sh -@@ -50,6 +50,14 @@ if [ ! -s "$KERNEL_FILE" ]; then - else - Error "Could not find Arch kernel /boot/vmlinuz[-linux|26]" - fi -+ elif [ -f /etc/gentoo-release ]; then -+ if [ -f "/boot/kernel-genkernel-${REAL_MACHINE}-${KERNEL_VERSION}" ]; then -+ KERNEL_FILE="/boot/kernel-genkernel-${REAL_MACHINE}-${KERNEL_VERSION}" -+ elif [ -f "/boot/kernel-${KERNEL_VERSION}" ]; then -+ KERNEL_FILE="/boot/kernel-${KERNEL_VERSION}" -+ else -+ Error "Could not find Gentoo kernel" -+ fi - else - Error "Could not find a matching kernel in /boot !" - fi
