diff --git a/meta-ohos-core/conf/distro/include/x-wic.inc b/meta-ohos-core/conf/distro/include/x-wic.inc index 62a339fbba384be4bcc6382118f3e102ac52f5fd..cfb7bfe6eb3d61c3c88d3fb90814b45b0bf156bc 100644 --- a/meta-ohos-core/conf/distro/include/x-wic.inc +++ b/meta-ohos-core/conf/distro/include/x-wic.inc @@ -6,14 +6,22 @@ # supported devices. This configuration is taking into consideration OTA design # and strategies. +BOOT_PARTITION_LABEL ?= "boot" BOOT_PARTITION_SIZE ?= "512M" + # The SECO B68 board pulls in almost half a Gigabyte worth of linux-firmware. ROOT_PARTITION_SIZE_seco-intel-b68 ?= "1536M" ROOT_PARTITION_SIZE ?= "1G" ROOTA_PARTITION_SIZE = "${ROOT_PARTITION_SIZE}" ROOTB_PARTITION_SIZE = "${ROOT_PARTITION_SIZE}" + +DEVDATA_PARTITION_LABEL ?= "devdata" DEVDATA_PARTITION_SIZE ?= "8M" + +SYSDATA_PARTITION_LABEL ?= "sysdata" SYSDATA_PARTITION_SIZE ?= "512M" + +APPDATA_PARTITION_LABEL ?= "appdata" APPDATA_PARTITION_SIZE ?= "1G" # Default root filesystem type is squashfs. @@ -36,6 +44,6 @@ WIC_ROOTB_PARTITION ?= "part / --source rootfs --use-uuid --fstype=${ROOT_FSTYPE ${@bb.utils.contains('ROOT_FSTYPE', 'ext4', '--mkfs-extraopts \'-T default\'', '', d)} \ --align 4096 --fixed-size ${ROOTB_PARTITION_SIZE} \ ${WIC_ROOTB_PARTITION_EXTRA_ARGS}" -WIC_DEVDATA_PARTITION ?= "part --fstype=ext4 --label x-dev-data --mkfs-extraopts '-T default' --align 4096 --fixed-size ${DEVDATA_PARTITION_SIZE} ${WIC_DEVDATA_PARTITION_EXTRA_ARGS}" -WIC_SYSDATA_PARTITION ?= "part --fstype=ext4 --label x-sys-data --mkfs-extraopts '-T default' --align 4096 --fixed-size ${SYSDATA_PARTITION_SIZE} ${WIC_SYSDATA_PARTITION_EXTRA_ARGS}" -WIC_APPDATA_PARTITION ?= "part --fstype=ext4 --label x-app-data --mkfs-extraopts '-T default' --align 4096 --fixed-size ${APPDATA_PARTITION_SIZE} ${WIC_APPDATA_PARTITION_EXTRA_ARGS}" +WIC_DEVDATA_PARTITION ?= "part --fstype=ext4 --label ${DEVDATA_PARTITION_LABEL} --mkfs-extraopts '-T default' --align 4096 --fixed-size ${DEVDATA_PARTITION_SIZE} ${WIC_DEVDATA_PARTITION_EXTRA_ARGS}" +WIC_SYSDATA_PARTITION ?= "part --fstype=ext4 --label ${SYSDATA_PARTITION_LABEL} --mkfs-extraopts '-T default' --align 4096 --fixed-size ${SYSDATA_PARTITION_SIZE} ${WIC_SYSDATA_PARTITION_EXTRA_ARGS}" +WIC_APPDATA_PARTITION ?= "part --fstype=ext4 --label ${APPDATA_PARTITION_LABEL} --mkfs-extraopts '-T default' --align 4096 --fixed-size ${APPDATA_PARTITION_SIZE} ${WIC_APPDATA_PARTITION_EXTRA_ARGS}"