diff mbox series

[1/2] wic: remove gptfdisk dependency

Message ID 20260811153619.2048639-1-ross.burton@arm.com
State Under Review
Headers show
Series [1/2] wic: remove gptfdisk dependency | expand

Commit Message

Ross Burton Aug. 11, 2026, 3:36 p.m. UTC
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 mbox series

Patch

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 \