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