linux-lenovo-21bx: use zinstall (MR 4739)

This commit is contained in:
Clayton Craft 2024-01-18 11:25:31 -08:00 committed by Anton Bambura
parent 7a68a913e1
commit 2ad0d8c4dc
No known key found for this signature in database
GPG key ID: 1441EAFE8D7F4C2D

View file

@ -2,7 +2,7 @@
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net> # Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=linux-lenovo-21bx pkgname=linux-lenovo-21bx
pkgver=6.7 pkgver=6.7
pkgrel=1 pkgrel=2
_commit="dd209a8fb4840e48ca4963bb23057f38b1066a6d" _commit="dd209a8fb4840e48ca4963bb23057f38b1066a6d"
pkgdesc="Lenovo ThinkPad X13s kernel fork" pkgdesc="Lenovo ThinkPad X13s kernel fork"
arch="aarch64" arch="aarch64"
@ -24,6 +24,7 @@ makedepends="
flex flex
openssl-dev openssl-dev
perl perl
postmarketos-installkernel
" "
# Source # Source
@ -49,12 +50,10 @@ build() {
} }
package() { package() {
install -Dm644 "$builddir/arch/$_carch/boot/vmlinuz.efi" \ mkdir -p "$pkgdir"/boot
"$pkgdir/boot/vmlinuz" make zinstall modules_install dtbs_install \
make modules_install dtbs_install \
ARCH="$_carch" \ ARCH="$_carch" \
INSTALL_PATH="$pkgdir"/boot/ \ INSTALL_PATH="$pkgdir"/boot \
INSTALL_MOD_PATH="$pkgdir" \ INSTALL_MOD_PATH="$pkgdir" \
INSTALL_MOD_STRIP=1 \ INSTALL_MOD_STRIP=1 \
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs