lg-hammerhead: configure getty using deviceinfo_getty variable (!795)

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

View file

@ -1,6 +1,6 @@
pkgname=device-lg-hammerhead
pkgver=2
pkgrel=10
pkgrel=11
pkgdesc="Google Nexus 5"
url="https://postmarketos.org"
arch="armv7"
@ -56,7 +56,7 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
sha512sums="e3ce75139e862193e45d5e17f2e3d4250eb13efaa3e615a6b240f095772b6dc7a5cd49b1e4e176189cae7a2e7145315f0ebb94ee67d3e5bb6b7528090abb1b88 deviceinfo
sha512sums="bbbdc002dca154ce3a71998e61aec5ef5cd6f63bbfabf51c5d4d8796146dcae35428587273026824f3a4aa8e23eddbd20837d95d12fc5b106b7d4705d91cd6be deviceinfo
4c22070223f39c419260a6817e5cc2b7881c095deeba031363a5634842dd175dd67eecace980849f0553de79110ef4e43a66143d71433805cd916c37fe7248e9 weston.ini
0a9da551fa9d48d8a663f6bc74e8a7d6e2d2a6e009bd163fa46cd302e75656ad7ae57402a0bd70614ec253e0f2445b4c6999df07104f4c657ed630305c7f40d4 xorg.conf
d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf

View file

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

View file

@ -15,9 +15,10 @@ deviceinfo_external_storage="false"
deviceinfo_flash_method="fastboot"
deviceinfo_arch="armv7"
# Splash screen
# Device related
deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920"
deviceinfo_getty="ttyMSM0;115200"
# Fastboot related
deviceinfo_generate_bootimg="true"