From: Jan Kiszka <
jan.k...@siemens.com>
This is equally covered by wic's native gpt-hybrid partition type.
Signed-off-by: Jan Kiszka <
jan.k...@siemens.com>
---
RECIPE-API-CHANGELOG.md | 5 +++++
meta/scripts/lib/wic/plugins/source/hybrid-boot.py | 1 +
2 files changed, 6 insertions(+)
diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md
index 20183a8d..a9f835e6 100644
--- a/RECIPE-API-CHANGELOG.md
+++ b/RECIPE-API-CHANGELOG.md
@@ -866,3 +866,8 @@ INITRD_IMAGE is "only" deprecated; meaning that it may still be used (but
build-time warnings will be raised). If both IMAGE_INITRD and INITRD_IMAGE
are set then the latter will be ignored (a warning noting that both were
set will be emitted).
+
+### Deprecate hybrid-boot wic plugin
+
+Use wic's gpt-hybrid partition type combined with --mbr for the legacy
+partitions instead.
diff --git a/meta/scripts/lib/wic/plugins/source/hybrid-boot.py b/meta/scripts/lib/wic/plugins/source/hybrid-boot.py
index c73e89e6..faff6439 100644
--- a/meta/scripts/lib/wic/plugins/source/hybrid-boot.py
+++ b/meta/scripts/lib/wic/plugins/source/hybrid-boot.py
@@ -27,6 +27,7 @@ class HybridBoot(SourcePlugin):
@classmethod
def do_install_disk(cls, disk, disk_name, creator, workdir, oe_builddir,
bootimg_dir, kernel_dir, native_sysroot):
+ logger.warning("hybrid-boot is deprecated, use --ptable gpt-hybrid instead")
for part in creator.parts:
if part.active:
break
--
2.51.0