linux-postmarketos-unisoc-ums9230: upgrade to 7.2-rc6

In addition to the version bump, update the config to match new
requirements and change the module installation path to /usr (#4803).

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9338>
This commit is contained in:
Affe Null
2026-08-10 09:06:45 +00:00
parent 09af42ada0
commit bbb74dd6d7
2 changed files with 517 additions and 292 deletions
@@ -1,7 +1,7 @@
maintainer="Affe Null <affenull2345@gmail.com>"
_flavor="postmarketos-unisoc-ums9230"
pkgname=linux-$_flavor
pkgver=6.19.0_rc1_git20251214
pkgver=7.2.0_rc6_git20260807
pkgrel=0
pkgdesc="Linux kernel with patches for Unisoc UMS9230 devices"
arch="aarch64"
@@ -14,20 +14,23 @@ options="!strip !check !tracedeps
pmb:kconfigcheck-community
"
makedepends="
bash
bison
clang
elfutils-dev
findutils
flex
linux-headers
lld
llvm
openssl-dev
pahole
perl
postmarketos-installkernel
python3
zstd
"
_tag="v6.19-rc1-ums9230-0"
_tag="v7.2-rc6-ums9230-0"
_config="config-$_flavor.$arch"
source="
linux-$_tag.tar.gz::https://codeberg.org/ums9230-mainline/linux/archive/$_tag.tar.gz
@@ -51,16 +54,16 @@ package() {
make zinstall modules_install dtbs_install \
ARCH="$_carch" LLVM=1 \
INSTALL_PATH="$pkgdir"/boot \
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_MOD_PATH="$pkgdir"/usr \
INSTALL_MOD_STRIP=1 \
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
rm -f "$pkgdir"/lib/modules/*/build "$pkgdir"/lib/modules/*/source
rm -f "$pkgdir"/usr/lib/modules/*/build "$pkgdir"/usr/lib/modules/*/source
install -D "$builddir"/include/config/kernel.release \
"$pkgdir"/usr/share/kernel/$_flavor/kernel.release
}
sha512sums="
d37c4db542d9449d55095ef3584d31fd6aac5bcb7c71976ef2b8d5b345f289b29ce93d3b83fb37f7e477a80cf9c742ddd996556639352805d5cfe70c0fdd3cdc linux-v6.19-rc1-ums9230-0.tar.gz
d08eb9523e01373b81d4416fd8798763165fabfeac34317f9ea4851b5aea627a2a6b2cdd9fd80bc5388300572603ed7f733cc13841a7e8d30a74e66e3adf6833 config-postmarketos-unisoc-ums9230.aarch64
3fa24b0720994802fee53b0b343de722a3a4a9db547dff597411e7eb5cb15d63ec62120705b279edc559a78f6c67e1d1ec52adad4d72ffb4a611767e8ccb86f2 linux-v7.2-rc6-ums9230-0.tar.gz
7b1c472d10a21253f4fb06604784142fa25e9e644fe2cd38b8e37f0d1299c6185f15877c17a54b3e7e524fadae629bb5965e4b0e3e6f203ec855a0c06bf72845 config-postmarketos-unisoc-ums9230.aarch64
"