From patchwork Tue Aug 11 15:36:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 94970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B8ECC5B572 for ; Tue, 11 Aug 2026 15:36:30 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.56830.1786462584826415348 for ; Tue, 11 Aug 2026 08:36:25 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=VJhhHPAZ; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5C9391516; Tue, 11 Aug 2026 08:36:20 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DDD483F632; Tue, 11 Aug 2026 08:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1786462584; bh=I55QHWTcYtEfmeVfMXgNjdaqJ6dEG9i8qAbXsuqImBs=; h=From:To:Cc:Subject:Date:From; b=VJhhHPAZTKKPiPPuQSkoiFH+ShnCKO+7jmG2/TYA/Gk94BLkN/TGtCLT0CMbNscZk lCb1JFyNjVQ3LqNxog7IUBvqWgeNc0e2cQAXBQ0LKiVk0YYjyjFQImetlFKRZWQHpv NFCpsho5+0vBaJ7yO8EqUbI5ZLGkFb8zf5MtLryI= From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: twoerner@gmail.com Subject: [PATCH 1/2] wic: remove gptfdisk dependency Date: Tue, 11 Aug 2026 16:36:17 +0100 Message-ID: <20260811153619.2048639-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 11 Aug 2026 15:36:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/243213 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 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 \ From patchwork Tue Aug 11 15:36:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 94971 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CA15C5B56A for ; Tue, 11 Aug 2026 15:36:30 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.56831.1786462585777839666 for ; Tue, 11 Aug 2026 08:36:25 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=eowZPChj; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1B9371682; Tue, 11 Aug 2026 08:36:21 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9BC1A3F632; Tue, 11 Aug 2026 08:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1786462585; bh=xSA59hfMNrMsQd97KI8YpVju4il3WM+gvW1yPTtM8QY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eowZPChjUMFDqTBzC0HW8FeXyofbgttBu57dVoFqofAG7TwgpM/rrRZuQkYIbrLZS adw2rVZC+BHByiIiN2UnTdYRnflQ+csB5+4lJ5wpQzXUKX15n7zBjI3elaucPpm8uj MFX7yvNXaAVRd2eBlLOa4/NZAm8LQXE89hn8G+00= From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: twoerner@gmail.com Subject: [PATCH 2/2] gptfdisk: remove recipe Date: Tue, 11 Aug 2026 16:36:18 +0100 Message-ID: <20260811153619.2048639-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260811153619.2048639-1-ross.burton@arm.com> References: <20260811153619.2048639-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 11 Aug 2026 15:36:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/243214 There are no dependencies on this recipe in oe-core or meta-oe now, as the standard fdisk command in util-linux has both a scriptable frontend and supports GPT partition tables. Also the last release was in 2024 and there's very little activity upstream. As such, remove the recipe. Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc | 1 - ...gptcurses-correctly-include-curses.h.patch | 27 -------------- .../recipes-devtools/fdisk/gptfdisk_1.0.10.bb | 35 ------------------- 3 files changed, 63 deletions(-) delete mode 100644 meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch delete mode 100644 meta/recipes-devtools/fdisk/gptfdisk_1.0.10.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index c5b701c2447..f30aa06e15d 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -242,7 +242,6 @@ RECIPE_MAINTAINER:pn-go-runtime = "Khem Raj " RECIPE_MAINTAINER:pn-gobject-introspection = "Unassigned " RECIPE_MAINTAINER:pn-gperf = "Unassigned " RECIPE_MAINTAINER:pn-gpgme = "Hongxu Jia " -RECIPE_MAINTAINER:pn-gptfdisk = "Unassigned " RECIPE_MAINTAINER:pn-graphene = "Markus Volk " RECIPE_MAINTAINER:pn-grep = "Denys Dmytriyenko " RECIPE_MAINTAINER:pn-groff = "Hongxu Jia " diff --git a/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch b/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch deleted file mode 100644 index 011eec36f98..00000000000 --- a/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 510d0d27f90dfb1c4afd0722580bb8a828b52b7f Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin -Date: Mon, 30 Mar 2020 17:11:19 +0200 -Subject: [PATCH] gptcurses: correctly include curses.h - -Upstream-Status: Inappropriate [oe-core specific] -Signed-off-by: Alexander Kanavin ---- - gptcurses.cc | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/gptcurses.cc b/gptcurses.cc -index b476700..476fc43 100644 ---- a/gptcurses.cc -+++ b/gptcurses.cc -@@ -23,11 +23,7 @@ - #include - #include - #include --#if defined (__APPLE__) || (__FreeBSD__) - #include --#else --#include --#endif - #include "gptcurses.h" - #include "support.h" - diff --git a/meta/recipes-devtools/fdisk/gptfdisk_1.0.10.bb b/meta/recipes-devtools/fdisk/gptfdisk_1.0.10.bb deleted file mode 100644 index ba891931aca..00000000000 --- a/meta/recipes-devtools/fdisk/gptfdisk_1.0.10.bb +++ /dev/null @@ -1,35 +0,0 @@ -SUMMARY = "Utility for modifying GPT disk partitioning" -DESCRIPTION = "GPT fdisk is a disk partitioning tool loosely modeled on Linux fdisk, but used for modifying GUID Partition Table (GPT) disks. The related FixParts utility fixes some common problems on Master Boot Record (MBR) disks." -HOMEPAGE = "https://sourceforge.net/projects/gptfdisk/" - -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" - -DEPENDS = "util-linux" - -SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \ - file://0001-gptcurses-correctly-include-curses.h.patch \ - " -SRC_URI[sha256sum] = "2abed61bc6d2b9ec498973c0440b8b804b7a72d7144069b5a9209b2ad693a282" - -UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/gptfdisk/files/gptfdisk/" -UPSTREAM_CHECK_REGEX = "/gptfdisk/(?P(\d+[\.\-_]*)+)/" - -EXTRA_OEMAKE = "'CC=${CC}' 'CXX=${CXX}' gdisk fixparts ${PACKAGECONFIG_CONFARGS}" - -PACKAGECONFIG ??= "ncurses popt" -PACKAGECONFIG[ncurses] = "cgdisk,,ncurses" -PACKAGECONFIG[popt] = "sgdisk,,popt" - -do_install() { - install -d ${D}${sbindir} - for f in cgdisk sgdisk; do - if [ -x $f ]; then - install -m 0755 $f ${D}${sbindir} - fi - done - install -m 0755 gdisk ${D}${sbindir} - install -m 0755 fixparts ${D}${sbindir} -} - -BBCLASSEXTEND = "native nativesdk"