From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] ecryptfs-utils: do not enforce tools for the tests
Date: Tue, 20 Oct 2026 10:21:29 +0200 [thread overview]
Message-ID: <atckiWOvHJgx7HLg@lenoch> (raw)
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
reply other threads:[~2026-10-20 8:21 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=atckiWOvHJgx7HLg@lenoch \
--to=oss-lists@triops.cz \
--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