mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ci: container: make wget less verbose
@ 2024-08-14  9:24 Ahmad Fatoum
  2024-08-14 10:41 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-08-14  9:24 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

When downloading toolchains, we already use the wget -nv (non-verbose) option
to avoid a lot of progress indication clutter in the logs:

  12300K .......... .......... .......... .......... .......... 19%  165M 0s
  12350K .......... .......... .......... .......... .......... 19%  138M 0s
  12400K .......... .......... .......... .......... .......... 19%  151M 0s
  12450K .......... .......... .......... .......... .......... 19%  155M 0s

Add the option to the two other wget invocations that lack them.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 test/Containerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/Containerfile b/test/Containerfile
index 23f33dc8d7ff..5c49164d33b6 100644
--- a/test/Containerfile
+++ b/test/Containerfile
@@ -60,14 +60,14 @@ RUN korg_crosstool_dl() { wget -nv -O - https://mirrors.edge.kernel.org/pub/tool
     korg_crosstool_dl x86_64 ${GCC_VERSION} powerpc-linux     && \
     korg_crosstool_dl x86_64 ${GCC_VERSION} riscv64-linux
 
-RUN wget -O kvx.tgz https://github.com/kalray/build-scripts/releases/download/v5.0.0/gcc-kalray-kvx-ubuntu-22.04-v5.0.0.tar.gz
+RUN wget -nv -O kvx.tgz https://github.com/kalray/build-scripts/releases/download/v5.0.0/gcc-kalray-kvx-ubuntu-22.04-v5.0.0.tar.gz
 
 RUN echo "d27b3d6e6246f5debffee0bb01e77eb133bd32c658782a68a779cf9fb4c436bc kvx.tgz" | \
     sha256sum --check --status
 
 RUN tar -C /opt -xzf kvx.tgz && rm kvx.tgz
 
-RUN wget "https://github.com/qemu/qemu/blob/v5.2.0/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin?raw=true" -O /usr/share/qemu/opensbi-riscv32-generic-fw_dynamic.bin
+RUN wget -nv "https://github.com/qemu/qemu/blob/v5.2.0/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin?raw=true" -O /usr/share/qemu/opensbi-riscv32-generic-fw_dynamic.bin
 
 # Create our user/group
 RUN useradd -m -U barebox
-- 
2.39.2




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

* Re: [PATCH] ci: container: make wget less verbose
  2024-08-14  9:24 [PATCH] ci: container: make wget less verbose Ahmad Fatoum
@ 2024-08-14 10:41 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-08-14 10:41 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Wed, 14 Aug 2024 11:24:38 +0200, Ahmad Fatoum wrote:
> When downloading toolchains, we already use the wget -nv (non-verbose) option
> to avoid a lot of progress indication clutter in the logs:
> 
>   12300K .......... .......... .......... .......... .......... 19%  165M 0s
>   12350K .......... .......... .......... .......... .......... 19%  138M 0s
>   12400K .......... .......... .......... .......... .......... 19%  151M 0s
>   12450K .......... .......... .......... .......... .......... 19%  155M 0s
> 
> [...]

Applied, thanks!

[1/1] ci: container: make wget less verbose
      https://git.pengutronix.de/cgit/barebox/commit/?id=768003bf90f2 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2024-08-14 10:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-14  9:24 [PATCH] ci: container: make wget less verbose Ahmad Fatoum
2024-08-14 10:41 ` Sascha Hauer

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