aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Weiman2017-04-05 21:11:49 -0400
committerMark Weiman2017-04-05 21:11:49 -0400
commitee18b0fb9391efaa50ced1ff8bce2b60849a3237 (patch)
tree2e2eb457dbf031878440a67c63dcb47a8a2f46aa
parent0ea84616242ae9790fcea970d28d2f8744af22fc (diff)
downloadaur-ee18b0fb9391efaa50ced1ff8bce2b60849a3237.tar.gz
Update to 4.9.20-1
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD10
2 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5470abe0f857..9b41c3f38795 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
# Generated by mksrcinfo v8
-# Tue Mar 21 15:28:12 UTC 2017
+# Wed Apr 5 21:37:16 UTC 2017
pkgbase = linux-vfio-lts
- pkgver = 4.9.16
+ pkgver = 4.9.20
pkgrel = 1
url = http://www.kernel.org/
arch = i686
@@ -15,8 +15,8 @@ pkgbase = linux-vfio-lts
options = !strip
source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.9.tar.xz
source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.9.tar.sign
- source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.9.16.xz
- source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.9.16.sign
+ source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.9.20.xz
+ source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.9.20.sign
source = config
source = config.x86_64
source = 99-linux.hook
@@ -26,7 +26,7 @@ pkgbase = linux-vfio-lts
source = i915_317.patch
sha256sums = 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a
sha256sums = SKIP
- sha256sums = 4b4a4dfa81d559f40516676c22bab00e1876538bb507b42606d7a39dc5b0055a
+ sha256sums = fb856acd9195e7d83ef9971ec7be55eca0d6fdf0fbfbe9a8f3bb04590d44b51f
sha256sums = SKIP
sha256sums = b5c2a685667a884477904c9fb337d944667b6144720ac2a67d1116f711e70768
sha256sums = ab6c0fab5b147fab9ccef90c62b963510e92fbd068a6a33b9619537243fedca4
diff --git a/PKGBUILD b/PKGBUILD
index 35200dd42415..0bd2bc4b1175 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=linux-vfio-lts
_srcname=linux-4.9
-pkgver=4.9.16
+pkgver=4.9.20
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
@@ -25,7 +25,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
'i915_317.patch')
sha256sums=('029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a'
'SKIP'
- '4b4a4dfa81d559f40516676c22bab00e1876538bb507b42606d7a39dc5b0055a'
+ 'fb856acd9195e7d83ef9971ec7be55eca0d6fdf0fbfbe9a8f3bb04590d44b51f'
'SKIP'
'b5c2a685667a884477904c9fb337d944667b6144720ac2a67d1116f711e70768'
'ab6c0fab5b147fab9ccef90c62b963510e92fbd068a6a33b9619537243fedca4'
@@ -265,6 +265,12 @@ _package-headers() {
cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}"
done
+ # add objtool for external module building and enabled VALIDATION_STACK option
+ if [ -f tools/objtool/objtool ]; then
+ mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool"
+ cp -a tools/objtool/objtool ${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool/
+ fi
+
chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build"
find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \;