Skip to content

Instantly share code, notes, and snippets.

@burberger
Created August 15, 2016 04:30
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/8fec05e2e8ac5e7a2e59eac270f39629 to your computer and use it in GitHub Desktop.
Save burberger/8fec05e2e8ac5e7a2e59eac270f39629 to your computer and use it in GitHub Desktop.
Adds Linux kernel 4.7 support to the spl-dkms package in the AUR
From fefbf632d7c6470a2d0cedbfa59ff7d2006fc17e Mon Sep 17 00:00:00 2001
From: Bob Urberger <burberger@gmail.com>
Date: Sun, 14 Aug 2016 21:26:07 -0700
Subject: Add linux 4.7 compatability patch to PKGBUILD
---
PKGBUILD | 3 +++
1 file changed, 3 insertions(+)
diff --git a/PKGBUILD b/PKGBUILD
index 14ddf82..e5e1d09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,12 +11,15 @@ makedepends=("git")
arch=("i686" "x86_64")
url="http://zfsonlinux.org/"
source=("git+https://github.com/zfsonlinux/spl.git#tag=spl-${pkgver}"
+ "linux-4.7.patch::https://git.pld-linux.org/gitweb.cgi?p=packages/spl.git;a=blob_plain;f=linux-4.7.patch;hb=067c900d8f7a2a16b6553babd7cc7783dfc34f72"
"spl-utils.hostid")
sha256sums=('SKIP'
+ 'c7b5084be50544bad3a40b398cb2df6d83adbac934b704a73480f7b3097392cb'
'ad95131bc0b799c0b1af477fb14fcf26a6a9f76079e48bf090acb7e8367bfd0e')
build() {
cd "${srcdir}/spl"
+ patch -p1 -i "${srcdir}/linux-4.7.patch"
./autogen.sh
_at_enable=""
--
2.9.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment