Files
pmaports-rtwo/device/testing/device-oneplus-billie2/APKBUILD
T
Clayton Craft 0648d45d76 device/*: migrate device packages to new kernel cmdline config system
This migrates all device package to the new system, which is documented
here: https://docs.postmarketos.org/pmaports/main/kernel-cmdline.html.

It also replaces old initramfs params (PMOS_NOSPLASH and
PMOS_FORCE_PARTITION_RESIZE) from the cmdlines with their modern
equivalents, so we can finally get rid of those.

Signed-off-by: default avatarClayton Craft <craftyguy@postmarketos.org>

[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7830>
2026-01-27 12:34:40 -08:00

51 lines
1.4 KiB
Bash

# Reference: <https://postmarketos.org/devicepkg>
maintainer="Jonas Heinrich <onny@project-insanity.org>"
pkgname=device-oneplus-billie2
pkgdesc="OnePlus Nord N100"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-firmware-none"
makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-next:kernel_next
$pkgname-kernel-stable:kernel_stable
$pkgname-kernel-lts:kernel_lts
"
source="deviceinfo kernel-cmdline.conf"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
kernel_next() {
pkgdesc="Unstable next kernel (linux-next)"
depends="linux-next"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_stable() {
pkgdesc="Stable kernel from Alpine Linux (linux-stable)"
depends="linux-stable"
provides="$pkgname-kernel-edge=$pkgver-r$pkgrel"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_lts() {
pkgdesc="Long term support (LTS) kernel from Alpine Linux (linux-lts)"
depends="linux-lts"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
sha512sums="
eee3789440a261e9341fd8c9cc8a7879563b26c730ebaf7f2033a74579b2cd4299c24a15a541c2e7a31822453ee1853c42dc3f828841327dd43a59c508f6012b deviceinfo
04cc87ed6b0041ede7edb2693ee4dd58d6ac8f1b036a0b37e1a86cce57b66e35d9f400a3ea75d75278b028132535033915f3a2fff919866e85336c5f92a68ffe kernel-cmdline.conf
"