Skip to contentSkip to conversation

busybox: Add flock utility to default configuration.

PATCH New Peter Tworek 1 participant 1 message Feb 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 busybox: Add flock utility to default configuration.

Flock is required by pm-utils package to function properly (/usr/lib/pm-utils/functions). It's shipped in both busybox and util-linux. Both versions work fine with pm-utils. Enabling it in busybox seems like simplest solution for the problem.

On armv5t this adds 2905b to busybox binary size:
-rwxr-xr-x 1 tworaz tworaz 2325856 Feb 4 00:43 busybox.flock -rwxr-xr-x 1 tworaz tworaz 2322951 Feb 4 00:46 busybox.no-flock

---
 meta/recipes-core/busybox/busybox-1.19.3/defconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-core/busybox/busybox-1.19.3/defconfig +1 -1
index b474ad4..fa9c078 100644
@@ -540,7 +540,7 @@ CONFIG_FEATURE_FDISK_WRITABLE=y
 # CONFIG_FEATURE_GPT_LABEL is not set
 # CONFIG_FEATURE_FDISK_ADVANCED is not set
 # CONFIG_FINDFS is not set
-# CONFIG_FLOCK is not set
+CONFIG_FLOCK=y
 # CONFIG_FREERAMDISK is not set
 CONFIG_FSCK_MINIX=y
 # CONFIG_MKFS_EXT2 is not set
Signature · 1 line
1.7.3.4