summaryrefslogtreecommitdiffstats
path: root/rules/quota-tools.in
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 /rules/quota-tools.in
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>
Diffstat (limited to 'rules/quota-tools.in')
-rw-r--r--rules/quota-tools.in13
1 files changed, 10 insertions, 3 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"