linux-google-nyan: another try to get it smaller

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7273>
This commit is contained in:
Robert Eckelmann 2025-12-16 23:01:46 +09:00 committed by The Friendly Meow (merge) Bot
parent 5866996eca
commit 211926df66
No known key found for this signature in database

View file

@ -67,6 +67,9 @@ package() {
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
rm -f "$pkgdir"/lib/modules/*/build "$pkgdir"/lib/modules/*/source
#clean up unneeded dtbs
rm -f "$pkgdir"/boot/dtbs/keystone*.dtb "$pkgdir"/boot/dtbs/tegra20*.dtb "$pkgdir"/boot/dtbs/tegra30*.dtb
install -D "$builddir"/include/config/kernel.release \
"$pkgdir"/usr/share/kernel/$_flavor/kernel.release
}