Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] wic: remove gptfdisk dependency
@ 2026-08-11 15:36 Ross Burton
  2026-08-11 15:36 ` [PATCH 2/2] gptfdisk: remove recipe Ross Burton
  0 siblings, 1 reply; 4+ messages in thread
From: Ross Burton @ 2026-08-11 15:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: twoerner

Originally, wic needed gptfdisk because it ran the sgdisk command. But
wic has used sfdisk from util-linux (which is scriptable and supports
GPT, two defining characteristics of sgdisk) since 2024[1] and no longer
calls sgdisk (or any other commands from gptfdisk).

This commit has always been in the split-out wic, and was part of oe-core
from walnascar onwards.

Remove the dependency on gptfdisk from the wic recipe and the test image
wic-image-minimal.bb.

[1] wic 518dea0 ("wic: add WIC_SECTOR_SIZE variable")

Signed-off-by: Ross Burton <ross.burton@arm.com>

wic-image-minimal: remove gptfdisk-native dependency

As with the previous commit, wic no longer calls gptdisk.
---
 meta-selftest/recipes-test/images/wic-image-minimal.bb | 2 +-
 meta/recipes-support/wic/wic_0.3.1.bb                  | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.bb b/meta-selftest/recipes-test/images/wic-image-minimal.bb
index 89843d9b3ca..1c6455bb6be 100644
--- a/meta-selftest/recipes-test/images/wic-image-minimal.bb
+++ b/meta-selftest/recipes-test/images/wic-image-minimal.bb
@@ -6,7 +6,7 @@ IMAGE_INSTALL = "packagegroup-core-boot"
 
 IMAGE_FSTYPES = "wic"
 
-WKS_FILE_DEPENDS = "dosfstools-native mtools-native gptfdisk-native"
+WKS_FILE_DEPENDS = "dosfstools-native mtools-native"
 WKS_FILE_DEPENDS:append:x86 = " syslinux-native syslinux"
 WKS_FILE_DEPENDS:append:x86-64 = " syslinux-native syslinux"
 WKS_FILE_DEPENDS:append:x86-x32 = " syslinux-native syslinux"
diff --git a/meta/recipes-support/wic/wic_0.3.1.bb b/meta/recipes-support/wic/wic_0.3.1.bb
index 116b0a2cd29..308389c183d 100644
--- a/meta/recipes-support/wic/wic_0.3.1.bb
+++ b/meta/recipes-support/wic/wic_0.3.1.bb
@@ -16,7 +16,6 @@ RDEPENDS:${PN} += " \
     python3-logging \
     python3-misc \
     parted \
-    gptfdisk \
     dosfstools \
     mtools \
     bmaptool \
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-11 19:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-11 15:36 [PATCH 1/2] wic: remove gptfdisk dependency Ross Burton
2026-08-11 15:36 ` [PATCH 2/2] gptfdisk: remove recipe Ross Burton
2026-08-11 18:48   ` [OE-core] " Mathieu Dubois-Briand
2026-08-11 19:45     ` Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox