~xdavidwu/linux-xdavidwu-xps

26da822905d6c3b5a02964308a3c4058ac1d2ad7 — Pinghao Wu 9 months ago 8d04a10
zstd tweaks
1 files changed, 2 insertions(+), 2 deletions(-)

M APKBUILD
M APKBUILD => APKBUILD +2 -2
@@ 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
}