pmaports/device/testing/device-radxa-zero/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

42 lines
1.4 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: exkc <exxxxkc@getgoogleoff.me>
pkgname=device-radxa-zero
pkgver=1
pkgrel=4
pkgdesc="Radxa Zero"
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-edge u-boot-radxa-zero"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo modules-initfs"
build() {
devicepkg_build $startdir $pkgname
}
package() {
# Due to linux-edge bugs in boot-deploy (see boot-deploy!20)
# This device could not be use generated extlinux.conf.
# There are hack for the boot-deploy bugs.
# However,if i put the hack in the deviceinfo modules-initfs file directly
# the ci will fail.
# so i have to use those command at below to put the hack in the deviceinfo.
echo '# Hack for lnux-edge bugs in boot-deploy (see boot-deploy!20)' >> $srcdir/deviceinfo
echo 'kernel_filename="vmlinuz-edge"' >> $srcdir/deviceinfo
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi/BT firmware"
depends="firmware-radxa-zero linux-firmware-meson"
mkdir "$subpkgdir"
}
sha512sums="
ebd96850655228d7a063312f71058e90306622914443453378e0079cfd235357b62c80abf8fadd9ca2b266cc8df0a6624920eb34467f606b661a4bd97b23030b deviceinfo
b9f3e1902c17909de928c99868265a257ba5873f6ea6aa1097ad10721f59d68342d50ee51992472ecd23722f7664a13dd15f4e26071a40595c7c3e5161e533d7 modules-initfs
"