From patchwork Fri Feb 3 23:56:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v2] busybox: Add flock utility to default configuration. Date: Fri, 03 Feb 2012 23:56:31 -0000 From: Peter Tworek X-Patchwork-Id: 20689 Message-Id: <1328313391-9282-1-git-send-email-tworaz666@gmail.com> To: openembedded-core@lists.openembedded.org 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 Reviewed-by: Paul Menzel --- 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