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

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's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent ea09864a
No related branches found
No related tags found
No related merge requests found
# 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}
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