From 2deca0969fb632e380309d28b86243d8ddc7a545 Mon Sep 17 00:00:00 2001 From: Pops Dylan Date: Fri, 6 Dec 2019 21:40:33 -0800 Subject: [PATCH] lg-hammerhead: configure getty using deviceinfo_getty variable (!795) Move getty configuration from the .post-install script to deviceinfo. --- device/device-lg-hammerhead/APKBUILD | 4 ++-- device/device-lg-hammerhead/device-lg-hammerhead.post-install | 2 -- device/device-lg-hammerhead/deviceinfo | 3 ++- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/device/device-lg-hammerhead/APKBUILD b/device/device-lg-hammerhead/APKBUILD index 369a36877..6889f59ae 100644 --- a/device/device-lg-hammerhead/APKBUILD +++ b/device/device-lg-hammerhead/APKBUILD @@ -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 diff --git a/device/device-lg-hammerhead/device-lg-hammerhead.post-install b/device/device-lg-hammerhead/device-lg-hammerhead.post-install index 686241486..f3cc5122e 100644 --- a/device/device-lg-hammerhead/device-lg-hammerhead.post-install +++ b/device/device-lg-hammerhead/device-lg-hammerhead.post-install @@ -1,6 +1,4 @@ #!/bin/sh -echo "ttyMSM0::respawn:/sbin/getty -L ttyMSM0 115200 vt100" >> /etc/inittab - # Enable ofono rc-update add ofono default diff --git a/device/device-lg-hammerhead/deviceinfo b/device/device-lg-hammerhead/deviceinfo index 4ffd138ee..d4962c45d 100644 --- a/device/device-lg-hammerhead/deviceinfo +++ b/device/device-lg-hammerhead/deviceinfo @@ -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"