device-pine64-a64lts: enable serial console after boot (!651)

This commit is contained in:
Clayton Craft 2019-09-29 20:30:58 -07:00 committed by Martijn Braam
parent cad539b277
commit aeeda11fa1
No known key found for this signature in database
GPG key ID: C4280ACB000B060F
2 changed files with 6 additions and 2 deletions

View file

@ -1,8 +1,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-pine64-a64lts"
pkgdesc="PINE64 A64-LTS"
pkgver=0.2
pkgrel=5
pkgver=0.3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"

View file

@ -0,0 +1,4 @@
#!/bin/sh
# Run getty on serial port
sed -i -e "s/#ttyS0::respawn:\/sbin\/getty -L ttyS0 115200 vt100/ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100" /etc/inittab