diff --git a/device/testing/linux-alcatel-pop7lte/APKBUILD b/device/testing/linux-alcatel-pop7lte/APKBUILD index 55e7b1d03ca46a0e90ef35ba69adb42bae6cfc48..2dc0f007f2b0e5434a3bb6b2ade53a2f42d5e59e 100644 --- a/device/testing/linux-alcatel-pop7lte/APKBUILD +++ b/device/testing/linux-alcatel-pop7lte/APKBUILD @@ -53,23 +53,7 @@ build() { } package() { - # kernel.release - install -D "$builddir/include/config/kernel.release" \ - "$pkgdir/usr/share/kernel/$_flavor/kernel.release" - - # zImage (find the right one) - cd "$builddir/arch/$_carch/boot" - _target="$pkgdir/boot/vmlinuz-$_flavor" - for _zimg in zImage-dtb Image.gz-dtb *zImage Image; do - [ -e "$_zimg" ] || continue - msg "zImage found: $_zimg" - install -Dm644 "$_zimg" "$_target" - break - done - if ! [ -e "$_target" ]; then - error "Could not find zImage in $PWD!" - return 1 - fi + downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" # Master DTB (deviceinfo_bootimg_qcdt) install -Dm644 "$builddir/arch/arm/boot/dt.img" \