1
0
mirror of https://aur.archlinux.org/linux-vfio.git synced 2025-07-06 20:54:30 +00:00

Update to 4.10.1-1

This commit is contained in:
Mark Weiman
2017-03-10 17:29:12 -05:00
parent 0e2d2e609a
commit 9d251faaab
6 changed files with 394 additions and 168 deletions

View File

@ -2,8 +2,8 @@
# Contributor: Dan Ziemba <zman0900@gmail.com>
pkgbase=linux-vfio
_srcname=linux-4.9
pkgver=4.9.11
_srcname=linux-4.10
pkgver=4.10.1
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
@ -20,23 +20,20 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
'99-linux.hook'
# standard config files for mkinitcpio ramdisk
'linux.preset'
'change-default-console-loglevel.patch'
# patches for pci passthrough
'add-acs-overrides.patch'
'i915-vga-arbiter.patch'
'0001-x86-fpu-Fix-invalid-FPU-ptrace-state-after-execve.patch'
)
sha256sums=('029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a'
sha256sums=('3c95d9f049bd085e5c346d2c77f063b8425f191460fcd3ae9fe7e94e0477dc4b'
'SKIP'
'23e773a670f3cac11a92c4e442405dea6d2c28fea0f914ea2ba4bea313c26541'
'da560125aa350f76f0e4a5b9373a0d0a1c27ccefe3b7bd9231724f3a3c4ebb9e'
'SKIP'
'b5c2a685667a884477904c9fb337d944667b6144720ac2a67d1116f711e70768'
'ab6c0fab5b147fab9ccef90c62b963510e92fbd068a6a33b9619537243fedca4'
'386051f19482672c871e7865fc62f5e2c8010d857729134ba13044734962e42c'
'12a87284e2935cd17e2846a207cc76f1728531416523735d66ef8a0ae690884c'
'8f407ad5ff6eff106562ba001c36a281134ac9aa468a596aea660a4fe1fd60b5'
'99d0102c8065793096b8ea2ccc01c41fa3dcb96855f9f6f2c583b2372208c6f9'
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99'
'd36c589e3866535a9ac92911be64795967a05a6d300cc8b70abb79ea24b7b393'
'a8337dc3d4ae977be091d2cfe9edb5769b9548c78ed67ebd6ab03029059c9e49'
'3e955e0f1aae96bb6c1507236adc952640c9bd0a134b9995ab92106a33dc02d9')
'773b2a7db63dbc38336e04e25d5017a2a02c49e424cfa32beedb4e47a5027d2c'
'0bef31f6d1415398cb2e78d58798aa49e146b27c87764da181b6d41bd4e577eb')
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
@ -50,19 +47,9 @@ prepare() {
# add upstream patch
patch -p1 -i "${srcdir}/patch-${pkgver}"
# Revert a commit that causes memory corruption in i686 chroots on our
# build server ("valgrind bash" immediately crashes)
# https://bugzilla.kernel.org/show_bug.cgi?id=190061
patch -Rp1 -i "${srcdir}/0001-x86-fpu-Fix-invalid-FPU-ptrace-state-after-execve.patch"
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config
else