From 0ed0aaf30bd9a4a051a0e2493dc8038129d081c7 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Tue, 23 Feb 2021 16:05:14 +0000 Subject: [PATCH] openharmony-image-common.inc: Have more image space to workaround ZFS based hosts On ZFS hosts with compression on, the filesystem generation will fail. The current default for extra image space is 1.2. Bump that to 2 to workaround this issue and also have additional free space on the image. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .../recipes-core/images/openharmony-image-common.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-ohos-core/recipes-core/images/openharmony-image-common.inc b/meta-ohos-core/recipes-core/images/openharmony-image-common.inc index 7626b16a..8cef05a0 100644 --- a/meta-ohos-core/recipes-core/images/openharmony-image-common.inc +++ b/meta-ohos-core/recipes-core/images/openharmony-image-common.inc @@ -5,3 +5,7 @@ IMAGE_INSTALL_append = "\ packagegroup-net-tools \ packagegroup-ble-essentials \ " + +# 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