From 07df48dfb0b0f936728037806dd97fef7f3ccd45 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Tue, 1 Jun 2021 14:28:01 +0100 Subject: [PATCH] x-wic.inc: Use ROOT_PARTITION_SIZE to define A/B partition sizes It's clearer to have one root partition size variable that is used in the setup of both A and B partitions. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- meta-ohos-core/conf/distro/include/x-wic.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-ohos-core/conf/distro/include/x-wic.inc b/meta-ohos-core/conf/distro/include/x-wic.inc index 05ed8886..c9a0a227 100644 --- a/meta-ohos-core/conf/distro/include/x-wic.inc +++ b/meta-ohos-core/conf/distro/include/x-wic.inc @@ -8,9 +8,10 @@ BOOT_PARTITION_SIZE ?= "512M" # The SECO B68 board pulls in almost half a Gigabyte worth of linux-firmware. -ROOTA_PARTITION_SIZE_seco-intel-b68 ?= "1536M" -ROOTA_PARTITION_SIZE ?= "1G" -ROOTB_PARTITION_SIZE ?= "${ROOTA_PARTITION_SIZE}" +ROOT_PARTITION_SIZE_seco-intel-b68 ?= "1536M" +ROOT_PARTITION_SIZE ?= "1G" +ROOTA_PARTITION_SIZE = "${ROOT_PARTITION_SIZE}" +ROOTB_PARTITION_SIZE = "${ROOT_PARTITION_SIZE}" DEVICEDATA_PARTITION_SIZE ?= "8M" SYSDATA_PARTITION_SIZE ?= "512M" APPDATA_PARTITION_SIZE ?= "1G" -- GitLab