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:
parent
5866996eca
commit
211926df66
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue