From 48e898d111fa938c733d68dfed20f6c072ed88b3 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Mon, 26 Apr 2021 15:52:09 +0100 Subject: [PATCH] homeassistant-config.inc: Provide an inc file for the HA configuration This inc file is useful so multiple recipes can synchronise on the same path for the main Home Assistant configuration. For example, a recipe bringing a custom Home Assistant configuration would use this as the source of truth for the directory where this configuration needs to reside. Home Assistant will use the same configuration path at runtime. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .../homeassistant/homeassistant-config.inc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta-ohos-blueprints/recipes-homeassistant/homeassistant/homeassistant-config.inc diff --git a/meta-ohos-blueprints/recipes-homeassistant/homeassistant/homeassistant-config.inc b/meta-ohos-blueprints/recipes-homeassistant/homeassistant/homeassistant-config.inc new file mode 100644 index 00000000..6018b996 --- /dev/null +++ b/meta-ohos-blueprints/recipes-homeassistant/homeassistant/homeassistant-config.inc @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +HOMEASSISTANT_CONFIG_DIR ?= "${localstatedir}/lib/homeassistant" +HOMEASSISTANT_CONFIG_DIR[doc] = "Configuration directory used by home-assistant." -- GitLab