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 <[email protected]>
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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243213):
https://lists.openembedded.org/g/openembedded-core/message/243213
Mute This Topic: https://lists.openembedded.org/mt/120703230/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-