linux-postmarketos-stericsson: install modules to /usr

See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/4354

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8688>
This commit is contained in:
Stefan Hansson 2026-05-31 13:12:28 +02:00 committed by The Friendly Meow (merge) Bot
parent 9df099cc0c
commit 7ea7d2b89e
No known key found for this signature in database

View file

@ -4,7 +4,7 @@ _flavor="postmarketos-stericsson"
_config="config-$_flavor.armv7"
pkgname=linux-$_flavor
pkgver=6.18.2
pkgrel=1
pkgrel=2
pkgdesc="Mainline kernel for ST-Ericsson NovaThor devices"
arch="armv7"
_carch="arm"
@ -57,7 +57,7 @@ package() {
make zinstall modules_install dtbs_install \
ARCH="$_carch" \
INSTALL_PATH="$pkgdir"/boot \
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_MOD_PATH="$pkgdir"/usr \
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
rm -f "$pkgdir"/lib/modules/*/build "$pkgdir"/lib/modules/*/source