Skip to contentSkip to conversation

busybox: enable fdisk in default config

PATCH New Gustavo Zacarias 2 participants 2 messages Jul 25, 2014 – Jul 26, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 busybox: enable fdisk in default config

As noted by mnemoc on IRC the default busybox config doesn't enable fdisk and util-linux is hidden by !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS. On modern systems fdisk usage is becoming more common so enable it, it just adds up ~25 KiB to total binary size.
People who are on the edge for space savings will normally customize their busybox config.

---
 package/busybox/busybox.config | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
package/busybox/busybox.config +5 -5
index 544b82f..7b6d9b7 100644
@@ -549,15 +549,15 @@ CONFIG_FEATURE_FBSET_FANCY=y
 CONFIG_FEATURE_FBSET_READMODE=y
 CONFIG_FDFLUSH=y
 CONFIG_FDFORMAT=y
-# CONFIG_FDISK is not set
-# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set
-# CONFIG_FEATURE_FDISK_WRITABLE is not set
+CONFIG_FDISK=y
+CONFIG_FDISK_SUPPORT_LARGE_DISKS=y
+CONFIG_FEATURE_FDISK_WRITABLE=y
 # CONFIG_FEATURE_AIX_LABEL is not set
 # CONFIG_FEATURE_SGI_LABEL is not set
 # CONFIG_FEATURE_SUN_LABEL is not set
 # CONFIG_FEATURE_OSF_LABEL is not set
-# CONFIG_FEATURE_GPT_LABEL is not set
-# CONFIG_FEATURE_FDISK_ADVANCED is not set
+CONFIG_FEATURE_GPT_LABEL=y
+CONFIG_FEATURE_FDISK_ADVANCED=y
 # CONFIG_FINDFS is not set
 # CONFIG_FLOCK is not set
 CONFIG_FREERAMDISK=y
Signature · 1 line
1.8.5.5
#1 lore raw

PATCH 1/1 busybox: enable fdisk in default config

Dear Gustavo Zacarias,

Quoted 11 lines · Gustavo Zacarias

As noted by mnemoc on IRC the default busybox config doesn't enable fdisk and util-linux is hidden by !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS. On modern systems fdisk usage is becoming more common so enable it, it just adds up ~25 KiB to total binary size.
People who are on the edge for space savings will normally customize their busybox config.

---
 package/busybox/busybox.config | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com