summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bc08cf0c87c..3c88fa4e964 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: Shayne Hartford<shayneehartford@gmail.com>
+# Upstream: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgbase=linux-zen-vfio
-pkgver=5.6.10.zen1
+pkgver=5.7.5.zen1
pkgrel=1
pkgdesc='Linux ZEN'
_srctag=v${pkgver%.*}-${pkgver##*.}
@@ -9,7 +10,7 @@ url="https://github.com/zen-kernel/zen-kernel/commits/$_srctag"
arch=(x86_64)
license=(GPL2)
makedepends=(
- bc kmod libelf
+ bc kmod libelf pahole
xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick
git
)
@@ -18,19 +19,19 @@ _srcname=zen-kernel
source=(
"$_srcname::git+https://github.com/zen-kernel/zen-kernel?signed#tag=$_srctag"
config # the main kernel config file
- add-acs-overrides.patch # patch for acs overrides
- i915-vga-arbiter.patch # patch for i915 VGA arbiter
+ add-acs-overrides.patch
+ i915-vga-arbiter.patch
sphinx-workaround.patch
)
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
- '8218F88849AAC522E94CF470A5E9288C4FA415FA' # Jan Alexander Steffens (heftig)
+ 'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig)
)
sha256sums=('SKIP'
- '01db2a42315527698b76edee1a836af56b805e18c363086aa7cc57db377ad553'
- '1f11475db0778b7c4a4d6b07c86c2421ea01a653d6ee18d564204903d1ec0a8b'
- '094a29902b52cec2f0840219225a1458ca925f875524ecb7827da62a33c74ccf'
+ '8ced8898bdc2cab62be943495721a75a1b6b8f469b3e0b590cdd3f42184595e5'
+ '551d2ec326df256256a9e30d336a074493435fe0dbca77fd18216f9e91c0dd00'
+ 'ccb814e2c382a59b907ccb183836eda72f21214484e489b5f473beca97856704'
'8cb21e0b3411327b627a9dd15b8eb773295a0d2782b1a41b2a8839d1b2f5778c')
export KBUILD_BUILD_HOST=archlinux
@@ -89,7 +90,7 @@ _package() {
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
echo "Installing modules..."
- make INSTALL_MOD_PATH="$pkgdir/usr" modules_install
+ make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
# remove build and source links
rm "$modulesdir"/{source,build}
@@ -165,6 +166,9 @@ _package-headers() {
esac
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
+ echo "Stripping vmlinux..."
+ strip -v $STRIP_STATIC "$builddir/vmlinux"
+
echo "Adding symlink..."
mkdir -p "$pkgdir/usr/src"
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
@@ -198,4 +202,3 @@ for _p in "${pkgname[@]}"; do
done
# vim:set ts=8 sts=2 sw=2 et:
-