config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS
	depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_E2FSPROGS
	bool "e2fsprogs binaries"
	default n
	help
		external e2fsprogs file(s)

menu e2fsprogs
	depends on EXTERNAL_FREETZ_PACKAGE_E2FSPROGS

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_e2fsck
	bool "e2fsck"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2FSCK
	default n
	help
		externals the following file(s)
		 /usr/sbin/e2fsck
		 (use at your own risk, e2fsck is needed to check an uncleanly umounted filesystem)

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_fsck
	bool "fsck"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2FSCK
	default n
	help
		externals the following file(s)
		 /usr/sbin/fsck
		 (use at your own risk, e2fsck is needed to check an uncleanly umounted filesystem)

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_mke2fs
	bool "mke2fs"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2MAKING
	default n
	help
		externals the following file(s)
		 /usr/sbin/mke2fs

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_mklost_found
	bool "mklost+found"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2MAKING
	default n
	help
		externals the following file(s)
		 /usr/sbin/mklost+found

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_tune2fs
	bool "tune2fs"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2TUNING
	default n
	help
		externals the following file(s)
		 /usr/sbin/tune2fs

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_dumpe2fs
	bool "dumpe2fs"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2TUNING
	default n
	help
		externals the following file(s)
		 /usr/sbin/dumpe2fs

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_chattr
	bool "chattr"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2TUNING
	default n
	help
		externals the following file(s)
		 /usr/sbin/chattr

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_lsattr
	bool "lsattr"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2TUNING
	default n
	help
		externals the following file(s)
		 /usr/sbin/lsattr

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_e2image
	bool "e2image"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2DEBUG
	default n
	help
		externals the following file(s)
		 /usr/sbin/e2image

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_e2undo
	bool "e2undo"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2DEBUG
	default n
	help
		externals the following file(s)
		 /usr/sbin/e2undo

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_debugfs
	bool "debugfs"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2DEBUG
	default n
	help
		externals the following file(s)
		 /usr/sbin/debugfs

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_logsave
	bool "logsave"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2DEBUG
	default n
	help
		externals the following file(s)
		 /usr/sbin/logsave

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_badblocks
	bool "badblocks"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2FIXING
	default n
	help
		externals the following file(s)
		 /usr/sbin/badblocks

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_resize2fs
	bool "resize2fs"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2RESIZE
	default n
	help
		externals the following file(s)
		 /usr/sbin/resize2fs

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_filefrag
	bool "filefrag"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2FIXING
	default n
	help
		externals the following file(s)
		 /usr/sbin/filefrag

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_e2freefrag
	bool "e2freefrag"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2FIXING
	default n
	help
		externals the following file(s)
		 /usr/sbin/e2freefrag

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_blkid
	bool "blkid"
	depends on FREETZ_PACKAGE_E2FSPROGS_BLKID
	default n
	help
		externals the following file(s)
		 /usr/sbin/blkid

comment "WARNING: Don't externalize blkid onto an USB device. It's needed for filesystem detection."
	depends on EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_blkid && \
		FREETZ_PATCH_FREETZMOUNT_BLKID

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_uuidd
	bool "uuidd"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2FIXING
	default n
	help
		externals the following file(s)
		 /usr/sbin/uuidd

config EXTERNAL_FREETZ_PACKAGE_E2FSPROGS_uuidgen
	bool "uuidgen"
	depends on FREETZ_PACKAGE_E2FSPROGS_E2FIXING
	default n
	help
		externals the following file(s)
		 /usr/sbin/uuidgen

endmenu
