From e8489bbe644d01969c68e30200dcffff79182142 Mon Sep 17 00:00:00 2001 From: Lukas Timmermann Date: Sat, 13 Jun 2026 17:35:42 +0200 Subject: [PATCH] device-google-manta: Add two generic kernels Add mainline and stable options from the pmOS generic kernels to the google-manta board. Signed-off-by: Lukas Timmermann Part-of: --- device/community/device-google-manta/APKBUILD | 26 ++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/device/community/device-google-manta/APKBUILD b/device/community/device-google-manta/APKBUILD index cb1481033..947e5a63b 100644 --- a/device/community/device-google-manta/APKBUILD +++ b/device/community/device-google-manta/APKBUILD @@ -3,7 +3,7 @@ maintainer="Alexandre Marquet " pkgname=device-google-manta pkgdesc="Google Nexus 10" -pkgver=19 +pkgver=20 pkgrel=0 url="https://postmarketos.org" license="MIT" @@ -14,7 +14,6 @@ depends=" firmware-google-manta linux-firmware-brcm linux-firmware-s5p-mfc - linux-postmarketos-exynos5>=6.18.33 postmarketos-base systemd-boot u-boot-manta @@ -22,7 +21,10 @@ depends=" makedepends="devicepkg-dev" subpackages=" $pkgname-openrc - " + $pkgname-kernel-stable:kernel_stable + $pkgname-kernel-mainline:kernel_mainline + $pkgname-kernel-exynos5:kernel_exynos5 +" source=" deviceinfo modules-initfs @@ -59,6 +61,24 @@ package() { } +kernel_stable() { + pkgdesc="Stable kernel (recommended, best balance between stability and features)" + depends="linux-postmarketos-stable" + devicepkg_subpackage_kernel $startdir $pkgname $subpkgname +} + +kernel_mainline() { + pkgdesc="Upstream development kernel (regular breakage, latest features)" + depends="linux-postmarketos-mainline" + devicepkg_subpackage_kernel $startdir $pkgname $subpkgname +} + +kernel_exynos5() { + pkgdesc="Exynos5 kernel fork (best device support, mostly feature complete)" + depends="linux-postmarketos-exynos5>=6.18.33" + devicepkg_subpackage_kernel $startdir $pkgname $subpkgname +} + openrc() { default_openrc # replaces openrc for hwclock configuration