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