busybox: Add flock utility to default configuration.
PATCH 1/1 busybox: Add flock utility to default configuration.
Flock is required by 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 simpliest solution for the problem.
--- 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
@@ -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
Am Donnerstag, den 02.02.2012, 21:21 +0100 schrieb Peter Tworek:
Quoted 1 line
Flock is required by by pm-utils package to function properly
One »by« too much.
Quoted 3 lines
(
/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 simpliest solution for the problem.
simplest
Quoted 10 lines
Signed-off-by Peter Tworek <[email protected]>--- 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 +0
-0
meta/recipes-core/busybox/busybox-1.19.3/defconfig CONFIG_FEATURE_FDISK_WRITABLE=y · line 546
Quoted 8 lines
meta/recipes-core/busybox/busybox-1.19.3/defconfig +1
-1@@ -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
People are always interested in the size changes of the package when such programs are added to the default configuration. Do you have such numbers?
Thanks,
Paul
Quoted 3 lines · Paul Menzel
Am Donnerstag, den 02.02.2012, 21:21 +0100 schrieb Peter Tworek:
Quoted 1 line
Flock is required by by pm-utils package to function properly
One »by« too much.
Fixed in v2, thanks.
Quoted 5 lines
Quoted 4 lines
(
/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 simpliest solution for the problem.simplest
Thanks, fixed in v2.
Quoted 6 lines
Quoted 6 lines
Signed-off-by Peter Tworek<[email protected]>--- meta/recipes-core/busybox/busybox-1.19.3/defconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 16 lines
meta/recipes-core/busybox/busybox-1.19.3/defconfig CONFIG_FEATURE_FDISK_WRITABLE=y · line 546
Quoted 13 lines
meta/recipes-core/busybox/busybox-1.19.3/defconfig +1
-1@@ -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 setPeople are always interested in the size changes of the package when such programs are added to the default configuration. Do you have such numbers?
Added some data to v2. On armv5t it makes busybox binary larger by ~2.8k
Quoted 7 lines
Reviewed-by Paul Menzel<[email protected]>Thanks,
Paul
Quoted 15 lines · Peter Tworek
Flock is required by 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 simpliest solution for the problem.Signed-off-by Peter Tworek<[email protected]>--- 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 +0
-0
meta/recipes-core/busybox/busybox-1.19.3/defconfig CONFIG_FEATURE_FDISK_WRITABLE=y · line 546
Quoted 8 lines
meta/recipes-core/busybox/busybox-1.19.3/defconfig +1
-1@@ -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
Merged this one into OE-core, missed the v2 version with updated comment
Sorry and Thanks
Sau!