From 24937b115d1b10ffb81daf771aa73a6605b25281 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Tue, 9 Mar 2021 11:24:05 +0000
Subject: [PATCH] openharmony-linux-demo-dashboard.conf: Various configuration
 for the demo distro

* disable getty on tty1
* disable weston toolbar (as we are running only one app at boot)
* define the epiphany app to use (HomeAssistant)
* run the HomeAssistant epiphany app at boot

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../distro/openharmony-linux-demo-dashboard.conf     | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/meta-ohos-demo/conf/distro/openharmony-linux-demo-dashboard.conf b/meta-ohos-demo/conf/distro/openharmony-linux-demo-dashboard.conf
index 42fc5e76..8b2d94ce 100644
--- a/meta-ohos-demo/conf/distro/openharmony-linux-demo-dashboard.conf
+++ b/meta-ohos-demo/conf/distro/openharmony-linux-demo-dashboard.conf
@@ -17,3 +17,15 @@ ST_USERFS = "0"
 # Epiphany fails with musl
 # https://bugzilla.yoctoproject.org/show_bug.cgi?id=14281
 TCLIBC = "glibc"
+
+# Dynamic weston.ini configuration
+WESTON_DYNAMIC_INI = "1"
+WESTON_INI_NO_TOOLBAR = "1"
+
+# Mask getty on tty1 to cleanup boot process
+SYSTEMD_MASK_GETTY = "tty1"
+
+EPIPHANY_APP = "HomeAssistant"
+EPIPHANY_URL = "http://localhost:8123"
+EPIPHANY_RDEPENDS = "python3-homeassistant"
+EPIPHANY_SERVICE_ENABLED = "1"
-- 
GitLab