Skip to content
Snippets Groups Projects
Commit 14d3798f authored by Andrei Gherzan's avatar Andrei Gherzan :penguin: Committed by Stefan Schmidt
Browse files

x-wic.inc: Default partition extra args to avoid expansion issues


When not defined, bitbake will not expand the variables and wic will be
passed unrecognized arguments. Here is an example:

unrecognized arguments: ${WIC_ROOTA_PARTITION_EXTRA_ARGS}

Fixes #69

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent f87a7f71
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,15 @@ DEVICEDATA_PARTITION_SIZE ?= "8M"
SYSDATA_PARTITION_SIZE ?= "512M"
APPDATA_PARTITION_SIZE ?= "1G"
#
# Use this to include extra wic configuration per partition
#
WIC_ROOTA_PARTITION_EXTRA_ARGS ??= ""
WIC_ROOTB_PARTITION_EXTRA_ARGS ??= ""
WIC_DEVICEDATA_PARTITION_EXTRA_ARGS ??= ""
WIC_SYSDATA_PARTITION_EXTRA_ARGS ??= ""
WIC_APPDATA_PARTITION_EXTRA_ARGS ??= ""
WIC_ROOTA_PARTITION ?= "part / --source rootfs --use-uuid --fstype=ext4 --label x-sys-a --mkfs-extraopts '-T default' --align 4096 --fixed-size ${ROOTA_PARTITION_SIZE} ${WIC_ROOTA_PARTITION_EXTRA_ARGS}"
WIC_ROOTB_PARTITION ?= "part --fstype=ext4 --label x-sys-b --mkfs-extraopts '-T default' --align 4096 --fixed-size ${ROOTB_PARTITION_SIZE} ${WIC_ROOTB_PARTITION_EXTRA_ARGS}"
WIC_DEVICEDATA_PARTITION ?= "part --fstype=ext4 --label x-dev-data --mkfs-extraopts '-T default' --align 4096 --fixed-size ${DEVICEDATA_PARTITION_SIZE} ${WIC_DEVICEDATA_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