From 1a1a7ab832756f4fc4e93f569d541127e90bcdd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A9clairevoyant?= <848000+eclairevoyant@users.noreply.github.com> Date: Mon, 12 Jun 2023 17:57:14 -0400 Subject: [PATCH] linux-vfio: upgpkg 6.3.7.arch1 --- .SRCINFO | 25 ++++--- PKGBUILD | 82 +++++++++++++++------ config | 217 ++++++++++++++++++++++++++++++++++++++----------------- 3 files changed, 221 insertions(+), 103 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 88b19a2..ae18782 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,25 +1,25 @@ pkgbase = linux-vfio pkgdesc = Linux - pkgver = 6.2.13.arch1 + pkgver = 6.3.7.arch1 pkgrel = 1 - url = https://github.com/archlinux/linux/commits/v6.2.13-arch1 + url = https://github.com/archlinux/linux/commits/v6.3.7-arch1 arch = x86_64 license = GPL2 makedepends = bc + makedepends = cpio + makedepends = gettext + makedepends = git makedepends = libelf makedepends = pahole - makedepends = cpio makedepends = perl makedepends = tar makedepends = xz - makedepends = xmlto - makedepends = python-sphinx makedepends = graphviz makedepends = imagemagick + makedepends = python-sphinx makedepends = texlive-latexextra - makedepends = git options = !strip - source = archlinux-linux::git+https://github.com/archlinux/linux?signed#tag=v6.2.13-arch1 + source = archlinux-linux::git+https://github.com/archlinux/linux?signed#tag=v6.3.7-arch1 source = config source = 0001-add-acs-overrides.patch source = 0002-i915-vga-arbiter.patch @@ -27,18 +27,19 @@ pkgbase = linux-vfio validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E validpgpkeys = A2FF3A36AAA56654109064AB19802F8B0D70FC30 validpgpkeys = C7E7849466FE2358343588377258734B41C31549 - sha256sums = SKIP - sha256sums = de96ef80c3d883d03bce280ea1aebb1691aeebfcab82bf14a63d4ab5d9dca4b1 - sha256sums = bdd2a5a56e01e91723907afb40d28bed77b7d5107aba92c85adb3ce6967e713a - sha256sums = 9a698eaf1a0bd740981e909b6ad9bd41300488a2a771843bf30b9bdc94aa3c3b + b2sums = SKIP + b2sums = c2d1c69265adc041dc0364e448f6e86dc4c9ca1207c84071abc1675dd820534a8ab5a230e579e68bfb1bf2b861f23ad34e090f8ceaef5e265ea95e2bc6946013 + b2sums = b1bb6028bead89c277f0e98b308574e47feee2ece5b7f0a2422d40d5b2532216550f99153fbb451c2bee2df398a1a2d596f776281243cf55d4e94c1d5d854ef2 + b2sums = 7c99c5d965bda71f1d08e72fadc529b594d95648950aab49212daee8b34af525404bd98737d2bd715d81959fb71ed143416cb21d88075d833f931f9d0d313ab5 pkgname = linux-vfio pkgdesc = The Linux kernel and modules (ACS override and i915 VGA arbiter patches) depends = coreutils - depends = kmod depends = initramfs + depends = kmod optdepends = wireless-regdb: to set the correct wireless channels of your country optdepends = linux-firmware: firmware images needed for some devices + provides = KSMBD-MODULE provides = VIRTUALBOX-GUEST-MODULES provides = WIREGUARD-MODULE diff --git a/PKGBUILD b/PKGBUILD index 155ba37..3b32c3e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,15 +5,30 @@ # Upstream: Jan Alexander Steffens (heftig) pkgbase=linux-vfio -pkgver=6.2.13.arch1 +pkgver=6.3.7.arch1 pkgrel=1 pkgdesc='Linux' _srctag=v${pkgver%.*}-${pkgver##*.} url="https://github.com/archlinux/linux/commits/$_srctag" arch=(x86_64) license=(GPL2) -makedepends=(bc libelf pahole cpio perl tar xz xmlto python-sphinx graphviz -imagemagick texlive-latexextra git) +makedepends=( + bc + cpio + gettext + git + libelf + pahole + perl + tar + xz + + # htmldocs + graphviz + imagemagick + python-sphinx + texlive-latexextra +) options=('!strip') _srcname=archlinux-linux source=( @@ -23,27 +38,34 @@ source=( 0002-i915-vga-arbiter.patch # updated from https://lkml.org/lkml/2014/5/9/517 ) validpgpkeys=( - 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds - '647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman - 'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig) - 'C7E7849466FE2358343588377258734B41C31549' # David Runge + ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds + 647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman + A2FF3A36AAA56654109064AB19802F8B0D70FC30 # Jan Alexander Steffens (heftig) + C7E7849466FE2358343588377258734B41C31549 # David Runge ) -sha256sums=('SKIP' - 'de96ef80c3d883d03bce280ea1aebb1691aeebfcab82bf14a63d4ab5d9dca4b1' - 'bdd2a5a56e01e91723907afb40d28bed77b7d5107aba92c85adb3ce6967e713a' - '9a698eaf1a0bd740981e909b6ad9bd41300488a2a771843bf30b9bdc94aa3c3b') +b2sums=('SKIP' + 'c2d1c69265adc041dc0364e448f6e86dc4c9ca1207c84071abc1675dd820534a8ab5a230e579e68bfb1bf2b861f23ad34e090f8ceaef5e265ea95e2bc6946013' + 'b1bb6028bead89c277f0e98b308574e47feee2ece5b7f0a2422d40d5b2532216550f99153fbb451c2bee2df398a1a2d596f776281243cf55d4e94c1d5d854ef2' + '7c99c5d965bda71f1d08e72fadc529b594d95648950aab49212daee8b34af525404bd98737d2bd715d81959fb71ed143416cb21d88075d833f931f9d0d313ab5') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" +_make() { + test -s version + make KERNELRELEASE="$( localversion.10-pkgrel echo "${pkgbase#linux}" > localversion.20-pkgname + make defconfig + make -s kernelrelease > version + make mrproper local src for src in "${source[@]}"; do @@ -56,39 +78,47 @@ prepare() { echo "Setting config..." cp ../config .config - make olddefconfig + _make olddefconfig diff -u ../config .config || : - make -s kernelrelease > version echo "Prepared $pkgbase version $(