mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] e2fsprogs: add e4crypt and e4defrag
@ 2017-04-21 15:10 Clemens Gruber
  0 siblings, 0 replies; only message in thread
From: Clemens Gruber @ 2017-04-21 15:10 UTC (permalink / raw)
  To: ptxdist; +Cc: Clemens Gruber

Signed-off-by: Clemens Gruber <clemens.gruber@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-21 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-21 15:10 [ptxdist] [PATCH] e2fsprogs: add e4crypt and e4defrag Clemens Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox