* [ptxdist] [PATCH] ecryptfs-utils: do not enforce tools for the tests
@ 2026-10-20 8:21 Ladislav Michl
2026-11-13 8:38 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread
* Re: [ptxdist] [APPLIED] ecryptfs-utils: do not enforce tools for the tests
2026-10-20 8:21 [ptxdist] [PATCH] ecryptfs-utils: do not enforce tools for the tests Ladislav Michl
@ 2026-11-13 8:38 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-11-13 8:38 UTC (permalink / raw)
To: ptxdist; +Cc: Ladislav Michl
Thanks, applied as b475129960335ed527a04995dcfec78821b806da.
Michael
[sent from post-receive hook]
On Fri, 13 Nov 2026 09:38:41 +0100, Ladislav Michl <oss-lists@triops.cz> wrote:
> 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>
> Message-Id: <atckiWOvHJgx7HLg@lenoch>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/ecryptfs-utils.in b/rules/ecryptfs-utils.in
> index ee7e131ad36e..d1d459c6b839 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-13 8:39 UTC | newest]
Thread overview: 2+ messages (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
2026-11-13 8:38 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox