From 3d459ff69ffea265a5d6f8126063bfbe3b81dc6b Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Tue, 2 Mar 2021 16:26:33 +0000 Subject: [PATCH] openharmony-linux-demo-dashboard: Add ohos based distro configuration This configuration inherits the ohos distro configuration but makes configurations specific to the dashboard demo use-cases. For now we only handle the HomeAssistant version requirements and set a custom hostname. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .../distro/openharmony-linux-demo-dashboard.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-ohos-demo/conf/distro/openharmony-linux-demo-dashboard.conf diff --git a/meta-ohos-demo/conf/distro/openharmony-linux-demo-dashboard.conf b/meta-ohos-demo/conf/distro/openharmony-linux-demo-dashboard.conf new file mode 100644 index 00000000..5bd0e2eb --- /dev/null +++ b/meta-ohos-demo/conf/distro/openharmony-linux-demo-dashboard.conf @@ -0,0 +1,15 @@ +# Distro configuration for the dashboard demo + +require conf/distro/openharmony-linux.conf +include conf/distro/include/ha-versions.inc + +DISTRO = "openharmony-linux-demo-dashboard" +DISTRO_NAME = "OpenHarmony Dashboard Demo Linux Distro" + +# Custom hostnames for easy DNS resolution for this demo. +# The gateway would run on a stm32mp1-av96 machine. +hostname_base-files_stm32mp1-av96 = "demo-dashboard-gateway" + +# Avoid build warning(s) for ununsed extra partitions. +ST_VENDORFS = "0" +ST_USERFS = "0" -- GitLab