From 05a756aca024be353a2e8251a18e10400459b0d1 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Tue, 2 Mar 2021 16:28:28 +0000 Subject: [PATCH] demo-dashboard-gateway-image: Add image This image is part of the dashboard gateway demo and is meant to run on the linux based target running HomeAssistant. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .../images/demo-dashboard-gateway-image.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-ohos-demo/recipes-core/images/demo-dashboard-gateway-image.bb diff --git a/meta-ohos-demo/recipes-core/images/demo-dashboard-gateway-image.bb b/meta-ohos-demo/recipes-core/images/demo-dashboard-gateway-image.bb new file mode 100644 index 00000000..fda06072 --- /dev/null +++ b/meta-ohos-demo/recipes-core/images/demo-dashboard-gateway-image.bb @@ -0,0 +1,17 @@ +require recipes-core/images/openharmony-image-base.bb + +SUMMARY = "Dashboard demo image: gateway" +DESCRIPTION = "Home Assistant based image targeting a gateway device" +LICENSE = "Apache-2.0" + +IMAGE_INSTALL_append = "\ + python3-appdaemon \ + python3-homeassistant \ + " + +# 100 MiB of additional storage for config and runtime data. +IMAGE_ROOTFS_EXTRA_SPACE = "102400" + +# This is a workaround in case the build runs on ZFS with compression on. +# It also gives us extra runtime space. +IMAGE_OVERHEAD_FACTOR = "2" -- GitLab