2017-04-22 13:59:46 +02:00
|
|
|
menuconfig BR2_PACKAGE_E2FSPROGS
|
2005-02-11 21:42:52 +01:00
|
|
|
bool "e2fsprogs"
|
2014-02-23 23:58:07 +01:00
|
|
|
depends on BR2_USE_MMU # util-linux/libblkid
|
2011-07-28 17:58:50 +02:00
|
|
|
select BR2_PACKAGE_UTIL_LINUX
|
|
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
2011-07-29 08:49:48 +02:00
|
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
2005-02-11 21:42:52 +01:00
|
|
|
help
|
2011-07-29 08:49:48 +02:00
|
|
|
The EXT2 file system utilities.
|
2008-02-25 00:02:56 +01:00
|
|
|
|
e2fsprogs: refactor to fix conflicts with busybox and util-linux
So far we attempted to solve the conflicts between busybox and e2fsprogs
by removing busybox programs from /bin and /sbin, leaving the e2fsprogs
ones at /usr/bin and /usr/sbin. This fails with BR2_ROOTFS_MERGED_USR=y,
leading to situations like the one described in bug 9436.
We could provide a better solution by means of a fine-grained selection
of programs, like util-linux does, but this would require big changes in
e2fsprogs. So instead of resorting to dirty tricks we switch to a more
pragmatic approach:
- Drop all configs to select/deselect utilities without corresponding
enable/disable options to the configure script. In other words, we
always install the basic set of utilities.
- fsck has a configure option, so use it. Note that --enable-fsck is
only about the wrapper, not about e2fsck.
- Install e2fsprogs utilities at /bin and /sbin, overriding the ones
eventually installed by busybox.
- Let the e2fsprogs build system create the symlinks mkfs.ext2 -> mke2fs
etc. fsck.ext4dev and mkfs.ext4dev were dropped in version 1.43.4.
Notice that these changes do exactly the opposite of what is requested
in bug 9436. On the other hand the policy for e2fsprogs becomes coherent
with the one for util-linux: busybox never wins.
Fixes:
https://bugs.busybox.net/show_bug.cgi?id=9436 (no fix, in fact)
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Arnout:
- don't add 'default y' to resize2fs;
- don't install the host package in /bin instead of /usr/bin - we
install everything under /usr (until /usr will be removed, soon)]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-23 00:49:13 +02:00
|
|
|
The following programs are always built and installed:
|
|
|
|
badblocks chattr debugfs dumpe2fs e2freefrag e2fsck e2image
|
|
|
|
e2undo e4crypt e4defrag filefrag fsck fuse2fs logsave lsattr
|
|
|
|
mke2fs mklost+found resize2fs tune2fs
|
|
|
|
|
2017-04-22 13:59:47 +02:00
|
|
|
The uuid utilities (uuidd, uuidgen) are not built. Use the
|
|
|
|
ones from util-linux, instead.
|
|
|
|
|
e2fsprogs: refactor to fix conflicts with busybox and util-linux
So far we attempted to solve the conflicts between busybox and e2fsprogs
by removing busybox programs from /bin and /sbin, leaving the e2fsprogs
ones at /usr/bin and /usr/sbin. This fails with BR2_ROOTFS_MERGED_USR=y,
leading to situations like the one described in bug 9436.
We could provide a better solution by means of a fine-grained selection
of programs, like util-linux does, but this would require big changes in
e2fsprogs. So instead of resorting to dirty tricks we switch to a more
pragmatic approach:
- Drop all configs to select/deselect utilities without corresponding
enable/disable options to the configure script. In other words, we
always install the basic set of utilities.
- fsck has a configure option, so use it. Note that --enable-fsck is
only about the wrapper, not about e2fsck.
- Install e2fsprogs utilities at /bin and /sbin, overriding the ones
eventually installed by busybox.
- Let the e2fsprogs build system create the symlinks mkfs.ext2 -> mke2fs
etc. fsck.ext4dev and mkfs.ext4dev were dropped in version 1.43.4.
Notice that these changes do exactly the opposite of what is requested
in bug 9436. On the other hand the policy for e2fsprogs becomes coherent
with the one for util-linux: busybox never wins.
Fixes:
https://bugs.busybox.net/show_bug.cgi?id=9436 (no fix, in fact)
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Arnout:
- don't add 'default y' to resize2fs;
- don't install the host package in /bin instead of /usr/bin - we
install everything under /usr (until /usr will be removed, soon)]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-23 00:49:13 +02:00
|
|
|
Other programs can be selected individually.
|
|
|
|
|
2017-04-22 13:59:44 +02:00
|
|
|
http://e2fsprogs.sourceforge.net
|
2009-10-29 21:35:33 +01:00
|
|
|
|
2011-07-29 08:49:48 +02:00
|
|
|
if BR2_PACKAGE_E2FSPROGS
|
2009-10-29 21:35:33 +01:00
|
|
|
|
2011-07-28 15:04:09 +02:00
|
|
|
config BR2_PACKAGE_E2FSPROGS_DEBUGFS
|
|
|
|
bool "debugfs"
|
2017-04-23 00:49:14 +02:00
|
|
|
help
|
|
|
|
ext2/ext3/ext4 file system debugger
|
2011-07-28 15:04:09 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_E2FSPROGS_E2IMAGE
|
|
|
|
bool "e2image"
|
2017-04-23 00:49:14 +02:00
|
|
|
help
|
|
|
|
Save critical ext2/ext3/ext4 filesystem metadata to a file
|
2011-07-28 15:04:09 +02:00
|
|
|
|
2012-01-26 17:51:29 +01:00
|
|
|
config BR2_PACKAGE_E2FSPROGS_E4DEFRAG
|
|
|
|
bool "e4defrag"
|
2015-02-14 10:23:06 +01:00
|
|
|
depends on !BR2_nios2 # fallocate not implemented
|
2014-06-04 01:15:56 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC # sync_file_range not impl
|
2017-04-23 00:49:14 +02:00
|
|
|
help
|
|
|
|
Online defragmenter for ext4 filesystem
|
2014-06-04 01:15:56 +02:00
|
|
|
|
2016-06-08 23:40:54 +02:00
|
|
|
comment "e4defrag needs a glibc or musl toolchain"
|
2017-04-22 13:59:45 +02:00
|
|
|
depends on !BR2_nios2
|
2014-06-04 01:15:56 +02:00
|
|
|
depends on BR2_TOOLCHAIN_USES_UCLIBC
|
2012-01-26 17:51:29 +01:00
|
|
|
|
2008-02-25 00:02:56 +01:00
|
|
|
config BR2_PACKAGE_E2FSPROGS_FSCK
|
|
|
|
bool "fsck"
|
|
|
|
default y
|
2017-04-23 00:49:17 +02:00
|
|
|
depends on !BR2_PACKAGE_UTIL_LINUX_FSCK
|
2017-04-23 00:49:14 +02:00
|
|
|
help
|
|
|
|
Check and repair a Linux file system. This is a wrapper around
|
|
|
|
the filesystem-specific fsck tools.
|
2008-02-25 00:02:56 +01:00
|
|
|
|
2016-05-18 21:08:23 +02:00
|
|
|
config BR2_PACKAGE_E2FSPROGS_FUSE2FS
|
|
|
|
bool "fuse2fs"
|
|
|
|
depends on !BR2_STATIC_LIBS # libfuse
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
|
|
|
|
select BR2_PACKAGE_LIBFUSE
|
2017-04-23 00:49:14 +02:00
|
|
|
help
|
|
|
|
FUSE file system client for ext2/ext3/ext4 file systems
|
2016-05-18 21:08:23 +02:00
|
|
|
|
|
|
|
comment "fuse2fs needs a toolchain w/ threads, dynamic library"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
|
|
|
|
2011-07-28 15:04:09 +02:00
|
|
|
config BR2_PACKAGE_E2FSPROGS_RESIZE2FS
|
|
|
|
bool "resize2fs"
|
2017-04-23 00:49:14 +02:00
|
|
|
help
|
|
|
|
ext2/ext3/ext4 file system resizer
|
2011-07-28 15:04:09 +02:00
|
|
|
|
2009-10-29 21:35:33 +01:00
|
|
|
endif
|