From 6b8ffaa8a0e310c3ebcd2ba48524bdeb275d06ba Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Thu, 27 May 2021 12:07:13 +0100 Subject: [PATCH] x-qemux86-directdisk.wks.in: Add wic configuration for qemu x86 machines It is based on qemux86-directdisk.wks but with support for our common partition layout. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .../wic/x-qemux86-directdisk.wks.in | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-ohos-core/wic/x-qemux86-directdisk.wks.in diff --git a/meta-ohos-core/wic/x-qemux86-directdisk.wks.in b/meta-ohos-core/wic/x-qemux86-directdisk.wks.in new file mode 100644 index 00000000..eae4998e --- /dev/null +++ b/meta-ohos-core/wic/x-qemux86-directdisk.wks.in @@ -0,0 +1,28 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +# short-description: Create a qemu machine 'pcbios' direct disk image +# long-description: Based on qemux86-directdisk.wks but with support for common +# partitions. +# +# Disk layout: +# - -------- --------- --------- ------------------------------------------ +# | | | | | extended | +# | | | | | ------------ ------------ ------------ | +# | | x-boot | x-sys-a | x-sys-b | | x-dev-data | x-sys-data | x-app-data | | +# | | | | | ------------ ------------ ------------ | +# - -------- --------- --------- ------------------------------------------ +# ^ ^ +# | | +# 0 | +# 4096KiB + +bootloader --source bootimg-pcbios --timeout=0 --append="rw oprofile.timer=1 rootfstype=ext4" + +part --source bootimg-pcbios --label x-boot --align 4096 --fixed-size ${BOOT_PARTITION_SIZE} --active --offset 4096 +${WIC_ROOTA_PARTITION} +${WIC_ROOTB_PARTITION} +${WIC_DEVICEDATA_PARTITION} +${WIC_SYSDATA_PARTITION} +${WIC_APPDATA_PARTITION} -- GitLab