pmaports/device/testing/device-xiaomi-clover/APKBUILD
Caleb Connolly 3ed9591e41
treewide: drop PMOS_NO_OUTPUT_REDIRECT (MR 5240)
This cmdline argument is now a no-op. Drop it everywhere and add a new
CI check to enforce this.

Adjust the deprecated "minimal" initramfs variant to use
pmos.debug-shell to enable logging instead. It doesn't /support/
dropping to a shell, so the variable takes on a different meaning. But
that's ok since it's at least more consistent.

[ci:ignore-count]
[ci:skip-vercheck]
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-build]: kernel builds are very likely to go through now
2024-06-23 14:48:20 +02:00

54 lines
1.4 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-clover
pkgdesc="Xiaomi Mi Pad 4"
pkgver=2
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
firmware-qcom-adreno-a530
firmware-xiaomi-clover
mkbootimg
msm-firmware-loader
postmarketos-base
soc-qcom-sdm660
soc-qcom-sdm660-rproc
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-clover:kernel_clover
$pkgname-kernel-cloverplus:kernel_cloverplus
"
source="
deviceinfo
modules-initfs.clover
modules-initfs.cloverplus
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
kernel_clover() {
pkgdesc="For regular Mi Pad 4"
depends="linux-postmarketos-qcom-sdm660"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_cloverplus() {
pkgdesc="For Mi Pad 4 Plus"
depends="linux-postmarketos-qcom-sdm660"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
sha512sums="
ff9e36a0ea7195eb09a999ecff861c0630340b6cabf2cb575507e79660c80ab5d163c891bfb364e51c62227c8ff3c5f027aa8042666b44c63e464814d0502942 deviceinfo
709e3b6b082189d3a84e56d624221a6d5e502cd3d2a61080979cabfc2f048dc90b45f2cf1dd79c095e74db726d5670d22772bdc1a3ab6c42f97cd6ac09c86946 modules-initfs.clover
103ecf9d5005d44114fa644f61d059b5b22d5936ed71da460e55614ed9ec795595d4e9e2f2b79fb3511751edcf8e88ae134c5530ce037f86ae92c87768396e49 modules-initfs.cloverplus
"