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 0000000000000000000000000000000000000000..fda0607289e5cccd9fccbb043cb1408952c50763 --- /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"