]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
busybox: fdisk: enable GPT support
authorMichael Tretter <m.tretter@pengutronix.de>
Wed, 24 Jun 2026 14:31:34 +0000 (16:31 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Jun 2026 07:10:13 +0000 (08:10 +0100)
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>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox/fdisk-gpt.cfg [new file with mode: 0644]
meta/recipes-core/busybox/busybox_1.38.0.bb

diff --git a/meta/recipes-core/busybox/busybox/fdisk-gpt.cfg b/meta/recipes-core/busybox/busybox/fdisk-gpt.cfg
new file mode 100644 (file)
index 0000000..686eb99
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_FEATURE_GPT_LABEL=y
index 48b5e687b8ab5b016890f1a0816f201a6e3c1fb4..5ae58ce37f3b1f3c040af86add39c85d420391c1 100644 (file)
@@ -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 \