public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Jan Kiszka' via isar-users" <isar-users@googlegroups.com>
To: isar-users <isar-users@googlegroups.com>
Subject: [PATCH 4/4] wic: Deprecate hybrid-boot plugin
Date: Mon, 24 Nov 2025 08:15:59 +0100	[thread overview]
Message-ID: <6107d3b821d9bcd8ba6adbd79ff3632fdc99dd30.1763968559.git.jan.kiszka@siemens.com> (raw)
In-Reply-To: <cover.1763968559.git.jan.kiszka@siemens.com>

From: Jan Kiszka <jan.kiszka@siemens.com>

This is equally covered by wic's native gpt-hybrid partition type.

Signed-off-by: Jan Kiszka <jan.kiszka@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

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/6107d3b821d9bcd8ba6adbd79ff3632fdc99dd30.1763968559.git.jan.kiszka%40siemens.com.

  parent reply	other threads:[~2025-11-24  7:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-24  7:15 [PATCH 0/4] Updates for BeaglePlay board, hybrid-boot plugin deprecation 'Jan Kiszka' via isar-users
2025-11-24  7:15 ` [PATCH 1/4] u-boot-beagleplay: Update to v2025.10 'Jan Kiszka' via isar-users
2025-11-24  7:15 ` [PATCH 2/4] linux-mailine: Update to 6.12.58 'Jan Kiszka' via isar-users
2025-11-24  7:15 ` [PATCH 3/4] beagleplay: Use gpt-hybrid instead of our custom plugin 'Jan Kiszka' via isar-users
2025-11-24  7:15 ` 'Jan Kiszka' via isar-users [this message]
2025-11-27  8:35 ` [PATCH 0/4] Updates for BeaglePlay board, hybrid-boot plugin deprecation Zhihang Wei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6107d3b821d9bcd8ba6adbd79ff3632fdc99dd30.1763968559.git.jan.kiszka@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox