Skip to content

Instantly share code, notes, and snippets.

@burberger
Created August 15, 2016 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burberger/3c966a089529b33714fd8827c4b12e49 to your computer and use it in GitHub Desktop.
Save burberger/3c966a089529b33714fd8827c4b12e49 to your computer and use it in GitHub Desktop.
Adds linux kernel 4.7 support to the AUR zfs-dkms package
From 95e0bbceab12ac64c52c809f8f4064441307a979 Mon Sep 17 00:00:00 2001
From: Bob Urberger <burberger@gmail.com>
Date: Sun, 14 Aug 2016 21:33:46 -0700
Subject: [PATCH] Add linux 4.7 compatability patch to PKGBUILD
---
PKGBUILD | 3 +++
1 file changed, 3 insertions(+)
diff --git a/PKGBUILD b/PKGBUILD
index 897eaca..688c50a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,16 +11,19 @@ makedepends=("git" "spl-dkms=${pkgver}")
arch=("i686" "x86_64")
url="http://zfsonlinux.org/"
source=("git+https://github.com/zfsonlinux/zfs.git#tag=zfs-${pkgver}"
+ "linux-4.7.patch::https://git.pld-linux.org/gitweb.cgi?p=packages/zfs.git;a=blob_plain;f=linux-4.7.patch;hb=4d103c199aae0c8e521baf654733bd6b425ae1e3"
"zfs.bash-completion-r1"
"zfs.initcpio.install"
"zfs.initcpio.hook")
sha256sums=('SKIP'
+ '76ec51ae034fb2c189b2801032c5f988faef1bbb72a320b6463d9f1bf1f18e5d'
'b60214f70ffffb62ffe489cbfabd2e069d14ed2a391fac0e36f914238394b540'
'1e20071fa61a33874505dae0f2d71bb560f43e7faaea735cbde770ea10c133df'
'250f1232c464a81cc9c8b8ee05f21d752ebeebbc8614fae1c6d0bc600e816ac1')
build() {
cd "${srcdir}/zfs"
+ patch -p1 -i "${srcdir}/linux-4.7.patch"
./autogen.sh
./configure --prefix=/usr \
--
2.9.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment