mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] libseccomp: do not enforce standalone development tools
@ 2026-04-29  8:05 Ladislav Michl
  2026-05-27 21:54 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Ladislav Michl @ 2026-04-29  8:05 UTC (permalink / raw)
  To: ptxdist

From: Ladislav Michl <ladis@triops.cz>

Partially revert af3a035787a2 ("libseccomp: install some useful
development tools on demand") which is always enforcing standalone
development tools. Leave that on user allowing to choose also
Busybox' variants.

Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
 rules/libseccomp.in | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Note: alternatively some smart ifdeffery could be done for all
the tools used, but that requires verification on each package
update. Something we know will fail in advance :)
However, in you prefer that way, I can give it a try.

diff --git a/rules/libseccomp.in b/rules/libseccomp.in
index 01c6e8a4f..91a132a85 100644
--- a/rules/libseccomp.in
+++ b/rules/libseccomp.in
@@ -1,12 +1,9 @@
 ## SECTION=system_libraries
 
 menuconfig LIBSECCOMP
-	bool
+	tristate
 	prompt "libseccomp                    "
 	select HOST_GPERF
-	select SED if LIBSECCOMP_UTILS && RUNTIME
-	select STRACE if LIBSECCOMP_UTILS && RUNTIME
-	select WHICH if LIBSECCOMP_UTILS && RUNTIME
 	help
 	  An Enhanced Seccomp (mode 2) Helper Library
 
@@ -23,8 +20,8 @@ config LIBSECCOMP_UTILS
 	prompt "install utils"
 	help
 	  Install some utils, useful for development.
-	  Note: in order to run some of these utils the tools 'uniq', 'sort',
-	  'expr' and 'mktemp' from the 'Busybox' *or* 'Coreutils' package is
-	  required.
+	  Note: in order to run some of these utils the tools 'expr', 'mktemp', 'sed',
+	  'sort', 'strace, ''uniq' and 'which' from the 'Busybox' *or* 'Coreutils'
+	  package is required.
 
 endif
-- 
2.47.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] libseccomp: do not enforce standalone development tools
  2026-04-29  8:05 [ptxdist] libseccomp: do not enforce standalone development tools Ladislav Michl
@ 2026-05-27 21:54 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-05-27 21:54 UTC (permalink / raw)
  To: ptxdist; +Cc: Ladislav Michl

Thanks, applied as 67abccfd74fbc7c31399af14cf570769a907aab6.

Michael

[sent from post-receive hook]

On Wed, 27 May 2026 23:54:49 +0200, Ladislav Michl <oss-lists@triops.cz> wrote:
> Partially revert af3a035787a2 ("libseccomp: install some useful
> development tools on demand") which is always enforcing standalone
> development tools. Leave that on user allowing to choose also
> Busybox' variants.
> 
> Signed-off-by: Ladislav Michl <ladis@triops.cz>
> Message-Id: <afG7vrP3tXYGiWxQ@lenoch>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/libseccomp.in b/rules/libseccomp.in
> index 01c6e8a4f079..91a132a85ae5 100644
> --- a/rules/libseccomp.in
> +++ b/rules/libseccomp.in
> @@ -1,12 +1,9 @@
>  ## SECTION=system_libraries
>  
>  menuconfig LIBSECCOMP
> -	bool
> +	tristate
>  	prompt "libseccomp                    "
>  	select HOST_GPERF
> -	select SED if LIBSECCOMP_UTILS && RUNTIME
> -	select STRACE if LIBSECCOMP_UTILS && RUNTIME
> -	select WHICH if LIBSECCOMP_UTILS && RUNTIME
>  	help
>  	  An Enhanced Seccomp (mode 2) Helper Library
>  
> @@ -23,8 +20,8 @@ config LIBSECCOMP_UTILS
>  	prompt "install utils"
>  	help
>  	  Install some utils, useful for development.
> -	  Note: in order to run some of these utils the tools 'uniq', 'sort',
> -	  'expr' and 'mktemp' from the 'Busybox' *or* 'Coreutils' package is
> -	  required.
> +	  Note: in order to run some of these utils the tools 'expr', 'mktemp', 'sed',
> +	  'sort', 'strace, ''uniq' and 'which' from the 'Busybox' *or* 'Coreutils'
> +	  package is required.
>  
>  endif



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-27 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-29  8:05 [ptxdist] libseccomp: do not enforce standalone development tools Ladislav Michl
2026-05-27 21:54 ` [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