pmaports/device/testing/device-tokio-techbook/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

36 lines
1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-tokio-techbook
pkgdesc="Tokio Techbook"
pkgver=1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-tokio-techbook mkbootimg u-boot-tools"
makedepends="devicepkg-dev"
source="
deviceinfo
uboot-script.cmd
"
build() {
devicepkg_build $startdir $pkgname
# Creating uboot script
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr"
}
package() {
devicepkg_package $startdir $pkgname
# Copy newly generated file to correct path
mkdir -p "$pkgdir/boot/FirmwareInstall"
install -D -m644 "$srcdir"/boot.scr \
"$pkgdir"/boot/FirmwareInstall/autorun.1.wmt
}
sha512sums="
a84189c9f2bbe5203466c565452dafd79f1a29a921be71946e80a17503bcf48119ba7bae0186fff7cb5058515ff5d1141a4a0f16b83d92097a3ce42ff317915c deviceinfo
a457e78bfd63d9a4ab47f2957ee45b901e6e1c46e6961eee50b797449e0eb78150737d0f6a137ff9b2d98f0398c94e5a5afc6cb6d2ded332beed2fae480e795d uboot-script.cmd
"