mirror of
https://aur.archlinux.org/linux-vfio.git
synced 2024-12-26 16:44:09 +00:00
4.2-1
This commit is contained in:
parent
5edfba302f
commit
9221ccff8d
27
.SRCINFO
27
.SRCINFO
@ -1,5 +1,5 @@
|
|||||||
pkgbase = linux-vfio
|
pkgbase = linux-vfio
|
||||||
pkgver = 4.1.6
|
pkgver = 4.2
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = http://www.kernel.org/
|
url = http://www.kernel.org/
|
||||||
arch = i686
|
arch = i686
|
||||||
@ -11,24 +11,22 @@ pkgbase = linux-vfio
|
|||||||
makedepends = inetutils
|
makedepends = inetutils
|
||||||
makedepends = bc
|
makedepends = bc
|
||||||
options = !strip
|
options = !strip
|
||||||
source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz
|
source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.2.tar.xz
|
||||||
source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.sign
|
source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.2.tar.sign
|
||||||
source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.1.6.xz
|
|
||||||
source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.1.6.sign
|
|
||||||
source = config
|
source = config
|
||||||
source = config.x86_64
|
source = config.x86_64
|
||||||
source = linux.preset
|
source = linux.preset
|
||||||
source = change-default-console-loglevel.patch
|
source = change-default-console-loglevel.patch
|
||||||
|
source = 0001-make_flush_workqueue_non_gpl.patch
|
||||||
source = override_for_missing_acs_capabilities.patch
|
source = override_for_missing_acs_capabilities.patch
|
||||||
source = i915_317.patch
|
source = i915_317.patch
|
||||||
sha256sums = caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f
|
sha256sums = cf20e044f17588d2a42c8f2a450b0fd84dfdbd579b489d93e9ab7d0e8b45dbeb
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 64e4deb16a279e233b0c91463b131bd0f3de6aabdb49efded8314bcf5dbfe070
|
sha256sums = dbac1b59a0a1861fe2ae64348512f0994594ccbe959f50aa94b91d8464e44c97
|
||||||
sha256sums = SKIP
|
sha256sums = 90fa14aca07b560334ddb14ffe4f04c3ed149851e45952a5e4a2d0732ce29fb4
|
||||||
sha256sums = b5d6829dcb75d99fea401d9579e859a6ebb9bc09b2d6992dde171e8f05d5cbcf
|
|
||||||
sha256sums = ee55d469a4c00b6fb4144549f2a9c5b84d9fe7948c7cbd2637dce72227392b4f
|
|
||||||
sha256sums = f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c
|
sha256sums = f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c
|
||||||
sha256sums = 1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99
|
sha256sums = 1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99
|
||||||
|
sha256sums = 4e776734e2c2185910a6fbb6f333d967b04f4a72b3196310af286c6a779bd97d
|
||||||
sha256sums = 975f79348119bfba8dd972a9fbfe6b38484c45bfd228f2f6d48a0c02426ba149
|
sha256sums = 975f79348119bfba8dd972a9fbfe6b38484c45bfd228f2f6d48a0c02426ba149
|
||||||
sha256sums = 65faab45248008810b0a5f27162101a34dfe298c14d3506e52236c680353d7f8
|
sha256sums = 65faab45248008810b0a5f27162101a34dfe298c14d3506e52236c680353d7f8
|
||||||
|
|
||||||
@ -40,20 +38,11 @@ pkgname = linux-vfio
|
|||||||
depends = kmod
|
depends = kmod
|
||||||
depends = mkinitcpio>=0.7
|
depends = mkinitcpio>=0.7
|
||||||
optdepends = crda: to set the correct wireless channels of your country
|
optdepends = crda: to set the correct wireless channels of your country
|
||||||
provides = kernel26-vfio=4.1.6
|
|
||||||
conflicts = kernel26-vfio
|
|
||||||
replaces = kernel26-vfio
|
|
||||||
backup = etc/mkinitcpio.d/linux-vfio.preset
|
backup = etc/mkinitcpio.d/linux-vfio.preset
|
||||||
|
|
||||||
pkgname = linux-vfio-headers
|
pkgname = linux-vfio-headers
|
||||||
pkgdesc = Header files and scripts for building modules for Linux-vfio kernel
|
pkgdesc = Header files and scripts for building modules for Linux-vfio kernel
|
||||||
provides = kernel26-vfio-headers=4.1.6
|
|
||||||
conflicts = kernel26-vfio-headers
|
|
||||||
replaces = kernel26-vfio-headers
|
|
||||||
|
|
||||||
pkgname = linux-vfio-docs
|
pkgname = linux-vfio-docs
|
||||||
pkgdesc = Kernel hackers manual - HTML documentation that comes with the Linux-vfio kernel
|
pkgdesc = Kernel hackers manual - HTML documentation that comes with the Linux-vfio kernel
|
||||||
provides = kernel26-vfio-docs=4.1.6
|
|
||||||
conflicts = kernel26-vfio-docs
|
|
||||||
replaces = kernel26-vfio-docs
|
|
||||||
|
|
||||||
|
34
0001-make_flush_workqueue_non_gpl.patch
Normal file
34
0001-make_flush_workqueue_non_gpl.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
From 1dadafa86a779884f14a6e7a3ddde1a57b0a0a65 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tim Gardner <tim.gardner@canonical.com>
|
||||||
|
Date: Tue, 4 Aug 2015 11:26:04 -0600
|
||||||
|
Subject: workqueue: Make flush_workqueue() available again to non GPL modules
|
||||||
|
|
||||||
|
Commit 37b1ef31a568fc02e53587620226e5f3c66454c8 ("workqueue: move
|
||||||
|
flush_scheduled_work() to workqueue.h") moved the exported non GPL
|
||||||
|
flush_scheduled_work() from a function to an inline wrapper.
|
||||||
|
Unfortunately, it directly calls flush_workqueue() which is a GPL function.
|
||||||
|
This has the effect of changing the licensing requirement for this function
|
||||||
|
and makes it unavailable to non GPL modules.
|
||||||
|
|
||||||
|
See commit ad7b1f841f8a54c6d61ff181451f55b68175e15a ("workqueue: Make
|
||||||
|
schedule_work() available again to non GPL modules") for precedent.
|
||||||
|
|
||||||
|
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
|
||||||
|
Signed-off-by: Tejun Heo <tj@kernel.org>
|
||||||
|
|
||||||
|
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
|
||||||
|
index 4c4f061..a413acb 100644
|
||||||
|
--- a/kernel/workqueue.c
|
||||||
|
+++ b/kernel/workqueue.c
|
||||||
|
@@ -2614,7 +2614,7 @@ void flush_workqueue(struct workqueue_struct *wq)
|
||||||
|
out_unlock:
|
||||||
|
mutex_unlock(&wq->mutex);
|
||||||
|
}
|
||||||
|
-EXPORT_SYMBOL_GPL(flush_workqueue);
|
||||||
|
+EXPORT_SYMBOL(flush_workqueue);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* drain_workqueue - drain a workqueue
|
||||||
|
--
|
||||||
|
cgit v0.10.2
|
||||||
|
|
33
PKGBUILD
33
PKGBUILD
@ -1,8 +1,8 @@
|
|||||||
#Maintainer: Dan Ziemba <zman0900@gmail.com>
|
#Maintainer: Dan Ziemba <zman0900@gmail.com>
|
||||||
|
|
||||||
pkgbase=linux-vfio
|
pkgbase=linux-vfio
|
||||||
_srcname=linux-4.1
|
_srcname=linux-4.2
|
||||||
pkgver=4.1.6
|
pkgver=4.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.kernel.org/"
|
url="http://www.kernel.org/"
|
||||||
@ -11,24 +11,24 @@ makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
|
|||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
||||||
"https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.sign"
|
"https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.sign"
|
||||||
"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
#"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
||||||
"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.sign"
|
#"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.sign"
|
||||||
# the main kernel config files
|
# the main kernel config files
|
||||||
'config' 'config.x86_64'
|
'config' 'config.x86_64'
|
||||||
# standard config files for mkinitcpio ramdisk
|
# standard config files for mkinitcpio ramdisk
|
||||||
'linux.preset'
|
'linux.preset'
|
||||||
'change-default-console-loglevel.patch'
|
'change-default-console-loglevel.patch'
|
||||||
|
'0001-make_flush_workqueue_non_gpl.patch'
|
||||||
'override_for_missing_acs_capabilities.patch'
|
'override_for_missing_acs_capabilities.patch'
|
||||||
'i915_317.patch'
|
'i915_317.patch'
|
||||||
)
|
)
|
||||||
sha256sums=('caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f'
|
sha256sums=('cf20e044f17588d2a42c8f2a450b0fd84dfdbd579b489d93e9ab7d0e8b45dbeb'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'64e4deb16a279e233b0c91463b131bd0f3de6aabdb49efded8314bcf5dbfe070'
|
'dbac1b59a0a1861fe2ae64348512f0994594ccbe959f50aa94b91d8464e44c97'
|
||||||
'SKIP'
|
'90fa14aca07b560334ddb14ffe4f04c3ed149851e45952a5e4a2d0732ce29fb4'
|
||||||
'b5d6829dcb75d99fea401d9579e859a6ebb9bc09b2d6992dde171e8f05d5cbcf'
|
|
||||||
'ee55d469a4c00b6fb4144549f2a9c5b84d9fe7948c7cbd2637dce72227392b4f'
|
|
||||||
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
|
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
|
||||||
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99'
|
'1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99'
|
||||||
|
'4e776734e2c2185910a6fbb6f333d967b04f4a72b3196310af286c6a779bd97d'
|
||||||
'975f79348119bfba8dd972a9fbfe6b38484c45bfd228f2f6d48a0c02426ba149'
|
'975f79348119bfba8dd972a9fbfe6b38484c45bfd228f2f6d48a0c02426ba149'
|
||||||
'65faab45248008810b0a5f27162101a34dfe298c14d3506e52236c680353d7f8')
|
'65faab45248008810b0a5f27162101a34dfe298c14d3506e52236c680353d7f8')
|
||||||
validpgpkeys=(
|
validpgpkeys=(
|
||||||
@ -42,11 +42,15 @@ prepare() {
|
|||||||
cd "${srcdir}/${_srcname}"
|
cd "${srcdir}/${_srcname}"
|
||||||
|
|
||||||
# add upstream patch
|
# add upstream patch
|
||||||
patch -p1 -i "${srcdir}/patch-${pkgver}"
|
#patch -p1 -i "${srcdir}/patch-${pkgver}"
|
||||||
|
|
||||||
# add latest fixes from stable queue, if needed
|
# add latest fixes from stable queue, if needed
|
||||||
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
||||||
|
|
||||||
|
# fix work_queue symbol to non GPL for nvidia module building
|
||||||
|
# already applied to 4.3 series
|
||||||
|
patch -p1 -i "${srcdir}/0001-make_flush_workqueue_non_gpl.patch"
|
||||||
|
|
||||||
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
|
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
|
||||||
# remove this when a Kconfig knob is made available by upstream
|
# remove this when a Kconfig knob is made available by upstream
|
||||||
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
||||||
@ -112,9 +116,6 @@ _package() {
|
|||||||
[ "${pkgbase}" = "linux" ] && groups=('base')
|
[ "${pkgbase}" = "linux" ] && groups=('base')
|
||||||
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
|
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
|
||||||
optdepends=('crda: to set the correct wireless channels of your country')
|
optdepends=('crda: to set the correct wireless channels of your country')
|
||||||
provides=("kernel26${_kernelname}=${pkgver}")
|
|
||||||
conflicts=("kernel26${_kernelname}")
|
|
||||||
replaces=("kernel26${_kernelname}")
|
|
||||||
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
|
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
|
||||||
install=linux.install
|
install=linux.install
|
||||||
|
|
||||||
@ -162,9 +163,6 @@ _package() {
|
|||||||
|
|
||||||
_package-headers() {
|
_package-headers() {
|
||||||
pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel"
|
pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel"
|
||||||
provides=("kernel26${_kernelname}-headers=${pkgver}")
|
|
||||||
conflicts=("kernel26${_kernelname}-headers")
|
|
||||||
replaces=("kernel26${_kernelname}-headers")
|
|
||||||
|
|
||||||
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
|
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
|
||||||
|
|
||||||
@ -282,9 +280,6 @@ _package-headers() {
|
|||||||
|
|
||||||
_package-docs() {
|
_package-docs() {
|
||||||
pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"
|
pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"
|
||||||
provides=("kernel26${_kernelname}-docs=${pkgver}")
|
|
||||||
conflicts=("kernel26${_kernelname}-docs")
|
|
||||||
replaces=("kernel26${_kernelname}-docs")
|
|
||||||
|
|
||||||
cd "${srcdir}/${_srcname}"
|
cd "${srcdir}/${_srcname}"
|
||||||
|
|
||||||
|
304
config.x86_64
304
config.x86_64
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user