pmaports/device/testing/device-xiaomi-once/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

45 lines
1.2 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer:
pkgname=device-xiaomi-once
pkgdesc="Xiaomi Mi Box 3"
pkgver=1
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
postmarketos-base
linux-postmarketos-amlogic
soc-amlogic-s905
u-boot-amlogic-s905x-tv
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
asound.state"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/asound.state \
"$pkgdir"/var/lib/alsa/asound.state
}
nonfree_firmware() {
pkgdesc="Wi-Fi firmware, Bluetooth firmware, vdec firmware"
depends="firmware-xiaomi-once linux-firmware-meson"
mkdir "$subpkgdir"
}
sha512sums="
c86efe9b359bfce4371203fc15cf2eb5c362cdf7855be6db8dc3b8831e521a9cee8defdddf692996af0112e6e9c8c6af2979b5082df675ec9ea44eb5af0465fa deviceinfo
52948c2884a6f6384e12b7a598f70878526d0d3293c214425170145231144ec7de805c038641741a4a5d75b50e554f6a3fa3769784a674217ed032f9b6a233c8 modules-initfs
d17c248b7ac02450143965e9b8a506b54ac6e73413fd62b55fa356f5c7304acb1a831c7f8f8ce457d9aba097f6823d6ee97285657e07b667f8d0046435a0c45a asound.state
"