pine64-pinephone: configure getty using deviceinfo_getty variable (!797)

Move getty configuration from the .post-install script to deviceinfo.
This commit is contained in:
Pops Dylan 2019-12-06 20:42:56 -08:00 committed by Alexey Min
parent 1357960a3e
commit 9a5da8f65a
No known key found for this signature in database
GPG key ID: 463F84201DACD7B9
3 changed files with 3 additions and 5 deletions

View file

@ -2,7 +2,7 @@
pkgname="device-pine64-pinephone"
pkgdesc="PINE64 PinePhone"
pkgver=0.1
pkgrel=13
pkgrel=14
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -67,7 +67,7 @@ nonfree_firmware() {
}
sha512sums="5695150bcd2d2593bb912d5e714a48f5e0e97eb27829c6b5620a6d7fc6baaa2dc32b97f57c0ce13235d07035c80e1a5300510744d17d7645fb91db6222423e4f deviceinfo
sha512sums="bfb39f14c5a0b928d08cbcb5d19e63e141b052ebb72186c7c26f54d89c2ebf069674bc110215df0cacdd663610594eef5ffb3022eae5bd0e08aea34ab4e2f319 deviceinfo
f7271c2b231e3417bd8729a25f19ef4ce149c7afd7d64b2b16a4f131e281e3f43687055210179ae14993a0df766feb11ee4091b33185b00a21608a31e615d712 uboot-script.cmd
c4c57d1627dd451213e1ef20d89de9266cd4edcc2d33a69aa9a1f13e16d9f9742036b69dc149fd910d7213f7525c41eb79576d4457bc85cc96eba0d986382d27 weston.ini
f86ef35730b89bcc8160c08db7a7fcd0970adf60c0b77af68bac397de49c0d1783e6b8db1762380c9bf874aff2d030c6f44ecb75c803d69e79ede11376409369 xorg.conf

View file

@ -1,6 +1,3 @@
#!/bin/sh
# Enable getty on UART
echo "ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100" >> /etc/inittab
rc-update add ofono default

View file

@ -18,6 +18,7 @@ deviceinfo_screen_height="1440"
deviceinfo_dev_touchscreen=""
deviceinfo_dev_touchscreen_calibration=""
deviceinfo_dev_keyboard=""
deviceinfo_getty="ttyS0;115200"
# Bootloader related
deviceinfo_flash_method="none"