[OE-core] [PATCH v2] busybox: Add flock utility to default configuration.

Peter Tworek tworaz666 at gmail.com
Fri Feb 3 23:56:31 UTC 2012


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

Signed-off-by: Peter Tworek <tworaz666 at gmail.com>
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
 meta/recipes-core/busybox/busybox-1.19.3/defconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox-1.19.3/defconfig b/meta/recipes-core/busybox/busybox-1.19.3/defconfig
index b474ad4..fa9c078 100644
--- a/meta/recipes-core/busybox/busybox-1.19.3/defconfig
+++ b/meta/recipes-core/busybox/busybox-1.19.3/defconfig
@@ -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
-- 
1.7.3.4





More information about the Openembedded-core mailing list