Files
pmaports-rtwo/device/downstream/device-oneplus-oneplus2/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

30 lines
926 B
Bash

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-oneplus-oneplus2
pkgdesc="OnePlus 2"
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-oneplus-oneplus2 mkbootimg msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo
kernel-cmdline.conf
initfs-hook.sh
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
6034fee82e1d76f5f04173ff63ff754360f38b81d17596c9ad205af507532812d0c72a4686dcc4114e20e46c43c4f5fefe1f835d4155078e261ad837fc0e9bc4 deviceinfo
8cfc580958babb713b0867130ab79b1c0c61968a6cc151925f715561465348bb3fa5cf2d7e126be429f684b55b6c4796a9bbc3cefd3ca06790a28aa2a66db11f kernel-cmdline.conf
abf299888a7a2eafc483a0077b0a60ff04a9c85e54c09758896a15d5d4fe0359765d078797d6791acd0ca5ede2f46dac2674fadbbbf0905d81e9a01e97d8b470 initfs-hook.sh
"