mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH] e2fsprogs: add e4crypt and e4defrag
Date: Fri, 21 Apr 2017 17:10:38 +0200	[thread overview]
Message-ID: <20170421151038.20960-1-clemens.gruber@pqgruber.com> (raw)

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

                 reply	other threads:[~2017-04-21 15:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170421151038.20960-1-clemens.gruber@pqgruber.com \
    --to=clemens.gruber@pqgruber.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox