diff mbox series

busybox: fdisk: enable GPT support

Message ID 20260624143134.2398886-1-m.tretter@pengutronix.de
State Under Review
Headers show
Series busybox: fdisk: enable GPT support | expand

Commit Message

Michael Tretter June 24, 2026, 2:31 p.m. UTC
busybox' fdisk has optional support for GPT partitions. Since GPT
support is currently disabled in openembedded-core, fdisk cannot be used
to inspect the GPT partition table on block devices on the target.

Make fdisk useful on systems with GPT partitions by enabling
CONFIG_FEATURE_GPT_LABEL.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 meta/recipes-core/busybox/busybox/fdisk-gpt.cfg | 1 +
 meta/recipes-core/busybox/busybox_1.38.0.bb     | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 meta/recipes-core/busybox/busybox/fdisk-gpt.cfg
diff mbox series

Patch

diff --git a/meta/recipes-core/busybox/busybox/fdisk-gpt.cfg b/meta/recipes-core/busybox/busybox/fdisk-gpt.cfg
new file mode 100644
index 000000000000..686eb99d1433
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/fdisk-gpt.cfg
@@ -0,0 +1 @@ 
+CONFIG_FEATURE_GPT_LABEL=y
diff --git a/meta/recipes-core/busybox/busybox_1.38.0.bb b/meta/recipes-core/busybox/busybox_1.38.0.bb
index 48b5e687b8ab..5ae58ce37f3b 100644
--- a/meta/recipes-core/busybox/busybox_1.38.0.bb
+++ b/meta/recipes-core/busybox/busybox_1.38.0.bb
@@ -40,6 +40,7 @@  SRC_URI = "https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
            file://unicode.cfg \
            file://rev.cfg \
            file://pgrep.cfg \
+           file://fdisk-gpt.cfg \
            file://rcS \
            file://rcK \
            file://makefile-libbb-race.patch \