From 4f11c0967ea37434b1514de7ce476b82d429a1ee Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Mon, 2 Aug 2021 16:42:20 +0100
Subject: [PATCH] x-qemux86-directdisk.wks.in: Use bootimg-pcbios-label

The only difference in this plugin (as of now) is that it takes into
consideration the --label argument.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta-ohos-core/wic/x-qemux86-directdisk.wks.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-ohos-core/wic/x-qemux86-directdisk.wks.in b/meta-ohos-core/wic/x-qemux86-directdisk.wks.in
index fe475c3b..357478cf 100644
--- a/meta-ohos-core/wic/x-qemux86-directdisk.wks.in
+++ b/meta-ohos-core/wic/x-qemux86-directdisk.wks.in
@@ -18,9 +18,9 @@
 # 0 |
 #   4096KiB
 
-bootloader --source bootimg-pcbios --timeout=0 --append="oprofile.timer=1 rootfstype=${ROOT_FSTYPE}"
+bootloader --source bootimg-pcbios-label --timeout=0 --append="oprofile.timer=1 rootfstype=${ROOT_FSTYPE}"
 
-part --source bootimg-pcbios --label boot --align 4096 --fixed-size ${BOOT_PARTITION_SIZE} --active --offset 4096
+part --source bootimg-pcbios-label --label boot --align 4096 --fixed-size ${BOOT_PARTITION_SIZE} --active --offset 4096
 ${WIC_ROOTA_PARTITION}
 ${WIC_ROOTB_PARTITION}
 ${WIC_DEVDATA_PARTITION}
-- 
GitLab