diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-backup/rear/files | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-backup/rear/files')
-rw-r--r-- | app-backup/rear/files/rear-1.15-add-support-for-gentoo-kernels.patch | 19 |
1 files changed, 0 insertions, 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 608685418676..000000000000 --- 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 |