pine64-pinetab: configure getty using deviceinfo_getty variable (!798)

Move getty configuration from the .post-install script to deviceinfo.
This commit is contained in:
Pops Dylan 2019-12-06 21:00:01 -08:00 committed by Alexey Min
parent 77a160c94d
commit 2c803889d6
No known key found for this signature in database
GPG key ID: 0B19D2A65870B448
3 changed files with 3 additions and 5 deletions

View file

@ -2,7 +2,7 @@
pkgname="device-pine64-pinetab"
pkgdesc="PINE64 PineTab"
pkgver=0.1
pkgrel=8
pkgrel=9
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -74,7 +74,7 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
sha512sums="82ba12ed1b5018e1356a0359779ad84c4da21f1c3d2836706d52feb5b3d62cb9ec46e1da7b7729ae904074fbc9762728a51db79158bfafc7efc881721da2a9a7 deviceinfo
sha512sums="cdcae98f3dbd995689777c44f42749539e7ac17295693e5b64e528bb8b32203ad2a6c75f774ab513779b773793b474c1d3ec53ee25621e2b1d62989772b675c5 deviceinfo
8f15bb62704ad5379c6f77c5ea766e69587a11829539cc339b486b72e248e04cc6202b505f12846f6537f259412f7749ce50d0b15227da182afe17fe7dd303e5 uboot-script.cmd
9e71c61bfa72b60e749c4dc04f17eb59d25de822765e81e65c937d6be5236d3951a652b69a1ab973abe6add9f34705be5dbaa98bbfa25daf7504dd50b28524c2 sway.conf
8d1ef04911f1cfa7eda8185f4f4d807af23105a7c8f23d8c18f02afeccd8ab124de70c2e2760c154a3128fe3793447039fb0abf37aa496f597d27051e275033e 99-pinetab-keyboard.hwdb

View file

@ -1,8 +1,5 @@
#!/bin/sh
# Enable getty on UART
echo "ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100" >> /etc/inittab
# We'll update the hwdb so that the meta key gets fixed
echo "UPDATING HWDB..."
udevadm hwdb --update

View file

@ -19,6 +19,7 @@ deviceinfo_dev_touchscreen=""
deviceinfo_dev_touchscreen_calibration=""
deviceinfo_dev_keyboard=""
deviceinfo_framebuffer_landscape="true"
deviceinfo_getty="ttyS0;115200"
# Bootloader related
deviceinfo_flash_method="none"