summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2017-04-21 17:10:38 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-04-21 19:14:46 +0200
commit9543f3eb80a077e6e7349fafa2fa36498a83d766 (patch)
treeae60a378db946c9feb5ba576fc0a9b2c6b1b379e
parente547ee533d31b7c391d77b14fbf92a4c0cae2255 (diff)
downloadptxdist-9543f3eb80a077e6e7349fafa2fa36498a83d766.tar.gz
ptxdist-9543f3eb80a077e6e7349fafa2fa36498a83d766.tar.xz
e2fsprogs: add e4crypt and e4defrag
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/e2fsprogs.in20
-rw-r--r--rules/e2fsprogs.make10
2 files changed, 27 insertions, 3 deletions
diff --git a/rules/e2fsprogs.in b/rules/e2fsprogs.in
index 18879ed91..b42f600c3 100644
--- a/rules/e2fsprogs.in
+++ b/rules/e2fsprogs.in
@@ -9,8 +9,8 @@ menuconfig E2FSPROGS
select LIBUUID
help
The e2fsprogs package provides the filesystem utilities for use
- with the ext2 filesystem. It also supports the ext3 filesystem
- with journaling support.
+ with the ext2 filesystem. It also supports the ext3 and ext4
+ filesystems.
if E2FSPROGS
@@ -186,6 +186,22 @@ config E2FSPROGS_INSTALL_E2UNDO
help
Enable support for e2undo program.
+config E2FSPROGS_INSTALL_E4CRYPT
+ bool
+ select E2FSPROGS_LIBCOM_ERR
+ prompt "e4crypt"
+ help
+ Enable support for e4crypt, an ext4 filesystem encryption
+ utility.
+
+config E2FSPROGS_INSTALL_E4DEFRAG
+ bool
+ select E2FSPROGS_LIBCOM_ERR
+ prompt "e4defrag"
+ help
+ Enable support for e4defrag, an online defragmenter for the
+ ext4 filesystem.
+
config E2FSPROGS_INSTALL_FILEFRAG
bool
prompt "filefrag"
diff --git a/rules/e2fsprogs.make b/rules/e2fsprogs.make
index 4a6f302c7..5a83b3a13 100644
--- a/rules/e2fsprogs.make
+++ b/rules/e2fsprogs.make
@@ -56,7 +56,7 @@ E2FSPROGS_CONF_OPT := \
--$(call ptx/endis,PTXCONF_E2FSPROGS_INSTALL_DEBUGFS)-debugfs \
--$(call ptx/endis,PTXCONF_E2FSPROGS_IMAGER)-imager \
--$(call ptx/endis,PTXCONF_E2FSPROGS_RESIZER)-resizer \
- --disable-defrag \
+ --$(call ptx/endis,PTXCONF_E2FSPROGS_INSTALL_E4DEFRAG)-defrag \
--$(call ptx/endis,PTXCONF_E2FSPROGS_INSTALL_E2FSCK)-fsck \
--disable-e2initrd-helper \
--disable-tls \
@@ -160,6 +160,14 @@ ifdef PTXCONF_E2FSPROGS_INSTALL_E2UNDO
@$(call install_copy, e2fsprogs, 0, 0, 0755, -, /usr/sbin/e2undo)
endif
+ifdef PTXCONF_E2FSPROGS_INSTALL_E4CRYPT
+ @$(call install_copy, e2fsprogs, 0, 0, 0755, -, /usr/sbin/e4crypt)
+endif
+
+ifdef PTXCONF_E2FSPROGS_INSTALL_E4DEFRAG
+ @$(call install_copy, e2fsprogs, 0, 0, 0755, -, /usr/sbin/e4defrag)
+endif
+
ifdef PTXCONF_E2FSPROGS_INSTALL_FILEFRAG
@$(call install_copy, e2fsprogs, 0, 0, 0755, -, /usr/sbin/filefrag)
endif