mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ecryptfs-utils: do not enforce tools for the tests
@ 2026-10-20  8:21 Ladislav Michl
  0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2026-10-20  8:21 UTC (permalink / raw)
  To: ptxdist

From: Ladislav Michl <ladis@triops.cz>

The tests only need the tools at runtime, so leave the choice between
the Busybox, Coreutils and util-linux variants to the user.

Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
 rules/ecryptfs-utils.in | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/rules/ecryptfs-utils.in b/rules/ecryptfs-utils.in
index ee7e131ad..d1d459c6b 100644
--- a/rules/ecryptfs-utils.in
+++ b/rules/ecryptfs-utils.in
@@ -7,15 +7,7 @@ menuconfig ECRYPTFS_UTILS
 	select NSS
 	select HOST_GETTEXT
 	select HOST_INTLTOOL
-	select BASH			if ECRYPTFS_UTILS_TESTS
-	select COREUTILS		if ECRYPTFS_UTILS_TESTS
-	select COREUTILS_DF		if ECRYPTFS_UTILS_TESTS
-	select COREUTILS_MKDIR		if ECRYPTFS_UTILS_TESTS
-	select COREUTILS_SLEEP		if ECRYPTFS_UTILS_TESTS
-	select COREUTILS_STAT		if ECRYPTFS_UTILS_TESTS
-	select COREUTILS_TR		if ECRYPTFS_UTILS_TESTS
-	select COREUTILS_TRUNCATE	if ECRYPTFS_UTILS_TESTS
-	select UTIL_LINUX_MKFS		if ECRYPTFS_UTILS_TESTS
+	select BASH			if ECRYPTFS_UTILS_TESTS && RUNTIME
 	help
 	  eCryptfs is a POSIX-compliant enterprise-class stacked
 	  cryptographic filesystem for Linux.
@@ -53,4 +45,9 @@ config ECRYPTFS_UTILS_ECRYPTFS_WRAP_PASSPHRASE
 
 config ECRYPTFS_UTILS_TESTS
 	bool "ecryptfs-tests"
+	help
+	  Note: in order to run the tests the tools 'df', 'mkdir', 'sleep',
+	  'stat', 'tr' and 'truncate' from the 'Busybox' *or* 'Coreutils'
+	  package is required together with 'mkfs' from the 'Busybox' *or*
+	  'util-linux'
 endif
-- 
2.47.3




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

only message in thread, other threads:[~2026-10-20  8:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20  8:21 [ptxdist] [PATCH] ecryptfs-utils: do not enforce tools for the tests Ladislav Michl

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