help
Save critical ext2/ext3/ext4 filesystem metadata to a file
+config BR2_PACKAGE_E2FSPROGS_E2SCRUB
+ bool "e2scrub"
+ depends on BR2_PACKAGE_BASH # runtime
+ depends on BR2_PACKAGE_COREUTILS # runtime
+ depends on BR2_PACKAGE_LVM2 # runtime
+ depends on BR2_PACKAGE_UTIL_LINUX # runtime
+ help
+ Check the contents of a mounted ext[234] filesystem
+
+comment "e2scrub needs bash, coreutils, lvm2, and util-linux"
+ depends on !BR2_PACKAGE_BASH || !BR2_PACKAGE_COREUTILS \
+ || !BR2_PACKAGE_LVM2 || !BR2_PACKAGE_UTIL_LINUX
+
config BR2_PACKAGE_E2FSPROGS_E4DEFRAG
bool "e4defrag"
depends on !BR2_nios2 # fallocate not implemented
DESTDIR=$(STAGING_DIR) \
install-libs
+# e2scrub has no associated --enable/disable option
+ifneq ($(BR2_PACKAGE_E2FSPROGS_E2SCRUB),y)
+E2FSPROGS_MAKE_OPTS += E2SCRUB_DIR=
+endif
+
+E2FSPROGS_INSTALL_TARGET_OPTS = \
+ $(E2FSPROGS_MAKE_OPTS) \
+ DESTDIR=$(TARGET_DIR) \
+ install
+
# Package does not build in parallel due to improper make rules
define HOST_E2FSPROGS_INSTALL_CMDS
$(HOST_MAKE_ENV) $(MAKE1) -C $(@D) install install-libs