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 <[email protected]>
---
 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 --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 \
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239519): 
https://lists.openembedded.org/g/openembedded-core/message/239519
Mute This Topic: https://lists.openembedded.org/mt/119957766/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to