From 2ad0d8c4dcf311f3ccb18dab367f3cfdd5d81d6b Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Thu, 18 Jan 2024 11:25:31 -0800 Subject: [PATCH] linux-lenovo-21bx: use zinstall (MR 4739) --- device/testing/linux-lenovo-21bx/APKBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/device/testing/linux-lenovo-21bx/APKBUILD b/device/testing/linux-lenovo-21bx/APKBUILD index f5d4c97a2..802c4b729 100644 --- a/device/testing/linux-lenovo-21bx/APKBUILD +++ b/device/testing/linux-lenovo-21bx/APKBUILD @@ -2,7 +2,7 @@ # Co-Maintainer: Clayton Craft 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