1
0
mirror of https://aur.archlinux.org/linux-vfio.git synced 2024-12-26 14:44:09 +00:00
This commit is contained in:
xiota 2024-01-26 19:26:58 -08:00
parent fbad77d3f0
commit 7286635e5a
3 changed files with 28 additions and 11740 deletions

View File

@ -1,6 +1,6 @@
pkgbase = linux-vfio pkgbase = linux-vfio
pkgdesc = Linux pkgdesc = Linux
pkgver = 6.7.1 pkgver = 6.7.2
pkgrel = 1 pkgrel = 1
url = https://www.kernel.org url = https://www.kernel.org
arch = x86_64 arch = x86_64
@ -19,19 +19,19 @@ pkgbase = linux-vfio
makedepends = python-sphinx makedepends = python-sphinx
makedepends = texlive-latexextra makedepends = texlive-latexextra
options = !strip options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.7.1.tar.xz source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.7.2.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.7.1.tar.sign source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.7.2.tar.sign
source = config source = config-6.7.2::https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config
source = 1001-add-acs-overrides.patch source = 1001-add-acs-overrides.patch
source = 1002-i915-vga-arbiter.patch source = 1002-i915-vga-arbiter.patch
source = https://github.com/archlinux/linux/releases/download/v6.7-arch3/linux-v6.7-arch3.patch.zst source = https://github.com/archlinux/linux/releases/download/v6.7.2-arch1/linux-v6.7.2-arch1.patch.zst
source = https://github.com/archlinux/linux/releases/download/v6.7-arch3/linux-v6.7-arch3.patch.zst.sig source = https://github.com/archlinux/linux/releases/download/v6.7.2-arch1/linux-v6.7.2-arch1.patch.zst.sig
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886 validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
validpgpkeys = 83BC8889351B5DEBBB68416EB8AC08600F108CDF validpgpkeys = 83BC8889351B5DEBBB68416EB8AC08600F108CDF
sha256sums = 1ecffa568e86a2202ba5533ad9034bc263a9aa14e189597a94f09b3854ad68c3 sha256sums = c34de41baa29c475c0834e88a3171e255ff86cd32d83c6bffc2b797e60bfa671
sha256sums = SKIP
sha256sums = SKIP sha256sums = SKIP
sha256sums = 45a44ff0e957cd562d2ceb60c1c90fc19c19e808209cebb46bfacfccfb56ad96
sha256sums = f342986bd27980c96c952b0dd8103d3e21a942d87f18df1308fab370e20010fb sha256sums = f342986bd27980c96c952b0dd8103d3e21a942d87f18df1308fab370e20010fb
sha256sums = 2a3c732d4d61a631c98b2a3e4afb1fa5dbf8be5c43519b2a59d0e65170c9d8db sha256sums = 2a3c732d4d61a631c98b2a3e4afb1fa5dbf8be5c43519b2a59d0e65170c9d8db
sha256sums = SKIP sha256sums = SKIP

View File

@ -23,7 +23,7 @@
_gitname="linux" _gitname="linux"
_pkgname="$_gitname${_pkgtype:-}" _pkgname="$_gitname${_pkgtype:-}"
pkgbase="$_pkgname" pkgbase="$_pkgname"
pkgver=6.7.1 pkgver=6.7.2
pkgrel=1 pkgrel=1
pkgdesc='Linux' pkgdesc='Linux'
url='https://www.kernel.org' url='https://www.kernel.org'
@ -50,12 +50,12 @@ options=('!strip')
_srcname=linux-$pkgver _srcname=linux-$pkgver
source+=( source+=(
https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign}
config # the main kernel config file "config-$pkgver"::https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config
) )
sha256sums+=( sha256sums+=(
'1ecffa568e86a2202ba5533ad9034bc263a9aa14e189597a94f09b3854ad68c3' 'c34de41baa29c475c0834e88a3171e255ff86cd32d83c6bffc2b797e60bfa671'
'SKIP'
'SKIP' 'SKIP'
'45a44ff0e957cd562d2ceb60c1c90fc19c19e808209cebb46bfacfccfb56ad96'
) )
validpgpkeys=( validpgpkeys=(
ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds
@ -75,27 +75,21 @@ if [[ ${_build_vfio::1} == "t" ]] ; then
fi fi
if [[ ${_build_arch_patch::1} == "t" ]] ; then if [[ ${_build_arch_patch::1} == "t" ]] ; then
if [[ ${_build_lts::1} == "t" ]] ; then _srctag=v${pkgver}-arch1
_dl_url_arch='https://gitlab.archlinux.org/archlinux/packaging/packages/linux-lts/-/raw/main' _dl_url_arch='https://github.com/archlinux/linux'
source+=(
"$_dl_url_arch/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch" # if no new patch, use previous one
"$_dl_url_arch/0002-skip-simpledrm-if-nvidia-drm.modeset=1-is.patch" if grep 404 <(curl -sI $_dl_url_arch/releases/download/$_srctag/linux-$_srctag.patch.zst | head -1) > /dev/null ; then
) _srctag=v${pkgver::4}$(( ${pkgver##*.} -1 ))-arch1
sha256sums+=(
'21195509fded29d0256abfce947b5a8ce336d0d3e192f3f8ea90bde9dd95a889'
'2f23be91455e529d16aa2bbf5f2c7fe3d10812749828fc752240c21b2b845849'
)
else
_srctag=v${pkgver::3}-arch3
_dl_url_arch='https://github.com/archlinux/linux'
source+=(
$_dl_url_arch/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig}
)
sha256sums+=(
'SKIP'
'SKIP'
)
fi fi
source+=(
$_dl_url_arch/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig}
)
sha256sums+=(
'SKIP'
'SKIP'
)
fi fi
if [[ ${_build_clang::1} == "t" ]] ; then if [[ ${_build_clang::1} == "t" ]] ; then
@ -155,6 +149,8 @@ _prepare_extra() {
} }
prepare() { prepare() {
cp "config-$pkgver" "config"
cd $_srcname cd $_srcname
echo "Setting version..." echo "Setting version..."

11708
config

File diff suppressed because it is too large Load Diff