pmaports/device/testing/device-realme-porsche/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

46 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-realme-porsche
pkgdesc="Realme GT 2"
pkgver=1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
firmware-realme-porsche
linux-firmware-ath11k
linux-realme-porsche
mkbootimg
postmarketos-base
soc-qcom-sm8350
"
makedepends="
devicepkg-dev
dtc
android-tools
"
source="
deviceinfo
empty-realme-porsche.dts
"
build() {
devicepkg_build $startdir $pkgname
dtc -O dtb -o "$srcdir/empty-realme-porsche.dtbo" -b 0 -@ \
"$srcdir/empty-realme-porsche.dts"
mkdtboimg create "$srcdir/dtbo.img" --page_size=4096 \
"$srcdir/empty-realme-porsche.dtbo"
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir/dtbo.img" "$pkgdir/boot/dtbo.img"
}
sha512sums="
ebc87fb84ff9fc3a9e17e1f63afba4c6ce5a9931ff482f6c8384b4d302879ad22ddc1977c45c5d196305647fa91d62fb89fecb6a553e92aa2b93117354a7ccc6 deviceinfo
bbc201f65ee01de96ecedc856e7a9aebfb0e421daa2f25a7eb57f61ac9bd7412caefb9f68ac572dfd26f0d1f9752c4033291694f51c4cb5162d7c767beb8a152 empty-realme-porsche.dts
"