Signed-off-by: Clemens Gruber <clemens.gru...@pqgruber.com>
---
 rules/e2fsprogs.in   | 20 ++++++++++++++++++--
 rules/e2fsprogs.make | 10 +++++++++-
 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 6e16b4fcf..e9008fb63 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 \
@@ -161,6 +161,14 @@ ifdef PTXCONF_E2FSPROGS_INSTALL_E2UNDO
        @$(call install_copy, e2fsprogs, 0, 0, 0755, -, /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
-- 
2.12.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to