device-generic-loongarch64: switch to generic pmOS kernels

* Also make stable the default

For: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4288>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7938>
This commit is contained in:
Achill Gilgenast
2026-02-05 19:30:59 +00:00
committed by [Merge Bot]
parent 9727816848
commit bce3ae7a06
@@ -1,8 +1,9 @@
# Reference: <https://postmarketos.org/devicepkg>
# Co-Maintainer: Achill Gilgenast <achill@achill.org>
maintainer="Aelin <aelin@postmarketos.org>"
pkgname=device-generic-loongarch64
pkgver=5
pkgrel=0
pkgrel=1
pkgdesc="Generic loongarch64 system"
url="https://postmarketos.org"
arch="loongarch64"
@@ -15,8 +16,8 @@ depends="
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-lts:kernel_lts
$pkgname-kernel-stable:kernel_stable
$pkgname-kernel-lts:kernel_lts
$pkgname-kernel-mainline:kernel_mainline
"
@@ -35,20 +36,20 @@ package() {
devicepkg_package $startdir $pkgname
}
kernel_lts() {
pkgdesc="Alpine LTS kernel (recommended)"
depends="linux-lts"
kernel_stable() {
pkgdesc="Stable kernel (recommended, best balance between stability and features)"
depends="linux-postmarketos-stable"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_stable() {
pkgdesc="Alpine Stable kernel"
depends="linux-stable"
kernel_lts() {
pkgdesc="Long-term maintainance kernel (most stability, not all security fixes & new features)"
depends="linux-postmarketos-lts"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline() {
pkgdesc="postmarketOS Mainline kernel"
pkgdesc="Upstream development kernel (regular breakage, latest features)"
depends="linux-postmarketos-mainline"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}