Skip to content
Snippets Groups Projects
Verified Commit 4bc9d04b authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

allscenarios-linux.conf: Define common parts of the partition table


This configuration exposes variables for 'part' wic entries. These are
to be used in our wic configurations so that they all share the same
base setup. Initial sizes are also defined here.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 0a1903aa
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
require conf/distro/include/allscenarios.inc require conf/distro/include/allscenarios.inc
require conf/distro/include/x-wic.inc
require conf/distro/poky.conf require conf/distro/poky.conf
DISTRO = "allscenarios-linux" DISTRO = "allscenarios-linux"
......
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
# WIC configuration definitions that are meant to be common across the
# supported devices. This configuration is taking into consideration OTA design
# and strategies.
BOOT_PARTITION_SIZE ?= "512M"
ROOTA_PARTITION_SIZE ?= "1G"
ROOTB_PARTITION_SIZE ?= "${ROOTA_PARTITION_SIZE}"
DEVICEDATA_PARTITION_SIZE ?= "8M"
SYSDATA_PARTITION_SIZE ?= "512M"
APPDATA_PARTITION_SIZE ?= "1G"
WIC_ROOTA_PARTITION ?= "part / --source rootfs --use-uuid --fstype=ext4 --label x-sys-a --align 4096 --fixed-size ${ROOTA_PARTITION_SIZE} ${WIC_ROOTA_PARTITION_EXTRA_ARGS}"
WIC_ROOTB_PARTITION ?= "part --fstype=ext4 --label x-sys-b --align 4096 --fixed-size ${ROOTB_PARTITION_SIZE} ${WIC_ROOTb_PARTITION_EXTRA_ARGS}"
WIC_DEVICEDATA_PARTITION ?= "part --fstype=ext4 --label x-dev-data --align 4096 --fixed-size ${DEVICEDATA_PARTITION_SIZE} ${WIC_DEVICEDATA_PARTITION_EXTRA_ARGS}"
WIC_SYSDATA_PARTITION ?= "part --fstype=ext4 --label x-sys-data --align 4096 --fixed-size ${SYSDATA_PARTITION_SIZE} ${WIC_SYSDATA_PARTITION_EXTRA_ARGS}"
WIC_APPDATA_PARTITION ?= "part --fstype=ext4 --label x-app-data --align 4096 --fixed-size ${APPDATA_PARTITION_SIZE} ${WIC_APPDATA_PARTITION_EXTRA_ARGS}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment