summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-29 11:26:05 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-03-30 07:43:18 +0100
commit0a3990e81dee04d06b20acc7a0230e566f42f4a5 (patch)
tree592065014ac508b009936f40a1e5be1083a7c2fe
parent84ce40e377dc0ffea621d420a630bf5899864934 (diff)
downloadptxdist-0a3990e81dee04d06b20acc7a0230e566f42f4a5.tar.gz
ptxdist-0a3990e81dee04d06b20acc7a0230e566f42f4a5.tar.xz
quota: e2fsprogs are not always needed
e2fsprogs are only needed when the quotacheck tool is built with extfs support. Add a new option for this and select e2fsprogs only when necessary. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/quota-tools.in13
-rw-r--r--rules/quota-tools.make3
2 files changed, 12 insertions, 4 deletions
diff --git a/rules/quota-tools.in b/rules/quota-tools.in
index 04b816208..3651144a8 100644
--- a/rules/quota-tools.in
+++ b/rules/quota-tools.in
@@ -3,9 +3,9 @@
menuconfig QUOTA_TOOLS
tristate
prompt "quota tools "
- select E2FSPROGS
- select E2FSPROGS_LIBEXT2FS
- select E2FSPROGS_LIBCOM_ERR
+ select E2FSPROGS if QUOTA_TOOLS_QUOTACHECK_EXT2
+ select E2FSPROGS_LIBEXT2FS if QUOTA_TOOLS_QUOTACHECK_EXT2
+ select E2FSPROGS_LIBCOM_ERR if QUOTA_TOOLS_QUOTACHECK_EXT2
help
Tools and patches for the Linux Diskquota system as part of the
Linux kernel (http://sourceforge.net/projects/linuxquota)
@@ -60,6 +60,13 @@ config QUOTA_TOOLS_QUOTACHECK
help
scan a filesystem for disk usage, create, check and repair quota files
+config QUOTA_TOOLS_QUOTACHECK_EXT2
+ bool
+ prompt "Enable extfs support for quotacheck"
+ depends on QUOTA_TOOLS_QUOTACHECK
+ help
+ Enable this option to get direct extfs support in quotacheck
+
config QUOTA_TOOLS_CONVERTQUOTA
bool
prompt "install convertquota"
diff --git a/rules/quota-tools.make b/rules/quota-tools.make
index 57c00a383..976ba6765 100644
--- a/rules/quota-tools.make
+++ b/rules/quota-tools.make
@@ -36,7 +36,8 @@ QUOTA_TOOLS_AUTOCONF := $(CROSS_AUTOCONF_USR) \
--disable-netlink \
--disable-nls \
--disable-libwrap \
- --disable-rpc
+ --disable-rpc \
+ --$(call ptx/endis, PTXCONF_QUOTA_TOOLS_QUOTACHECK_EXT2)-ext2direct
# ----------------------------------------------------------------------------
# Compile