@@ 1,7 1,7 @@
# Maintainer: xdavidwu <xdavidwuph@gmail.com>
pkgname=linux-xdavidwu-xps
pkgver=6.7.6
-pkgrel=1
+pkgrel=2
pkgdesc="Linux kernel customized for xps"
url="https://www.kernel.org/"
arch="all"
@@ 46,7 46,7 @@ check() {
package() {
mkdir -p "$pkgdir"/boot "$pkgdir"/lib/modules "$pkgdir"/usr/share/kernel/xdavidwu-xps
- make INSTALL_MOD_PATH="$pkgdir" INSTALL_PATH="$pkgdir"/boot INSTALL_MOD_STRIP=1 modules_install install
+ env ZSTD_CLEVEL=19 ZSTD_NBTHREADS=$(nproc) make INSTALL_MOD_PATH="$pkgdir" INSTALL_PATH="$pkgdir"/boot INSTALL_MOD_STRIP=1 modules_install install
rm -f "$pkgdir"/lib/modules/"$pkgver-$pkgrel-xdavidwu-xps"/build "$pkgdir"/lib/modules/"$pkgver-$pkgrel-xdavidwu-xps"/source
echo "$pkgver-$pkgrel-xdavidwu-xps" > "$pkgdir"/usr/share/kernel/xdavidwu-xps/kernel.release
}