Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Buildroot List <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCH 2/3] support/docker: use APT::Retries in apt-get calls to retry
Date: Tue, 7 Feb 2023 18:23:15 +0100	[thread overview]
Message-ID: <20230207172315.GM4124@scaer> (raw)
In-Reply-To: <20230207163119.292389-2-thomas.petazzoni@bootlin.com>

Thomas, All,

On 2023-02-07 17:31 +0100, Thomas Petazzoni via buildroot spake thusly:
> snapshot.debian.org is notoriously slow, and quite often leads to
> timeouts when downloading packages. To give us a better chance of
> succeeding, let's retry 3 times before failing.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  support/docker/Dockerfile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile
> index de1534e77a..a16c1e3849 100644
> --- a/support/docker/Dockerfile
> +++ b/support/docker/Dockerfile
> @@ -20,8 +20,8 @@ COPY apt-sources.list /etc/apt/sources.list
>  
>  # The container has no package lists, so need to update first
>  RUN dpkg --add-architecture i386 && \
> -    apt-get update -y
> -RUN apt-get install -y --no-install-recommends \
> +    apt-get -o APT::Retries=3 update -y
> +RUN apt-get -o APT::Retries=3 install -y --no-install-recommends \
>          bc \
>          build-essential \
>          bzr \
> -- 
> 2.38.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-02-07 17:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07 16:31 [Buildroot] [PATCH 1/3] support/docker: update Debian distro to a newer tag/date Thomas Petazzoni via buildroot
2023-02-07 16:31 ` [Buildroot] [PATCH 2/3] support/docker: use APT::Retries in apt-get calls to retry Thomas Petazzoni via buildroot
2023-02-07 17:23   ` Yann E. MORIN [this message]
2023-02-07 16:31 ` [Buildroot] [PATCH 3/3] .gitlab-ci.yml: update Docker image to use Thomas Petazzoni via buildroot
2023-02-07 17:23   ` Yann E. MORIN
2023-02-07 17:22 ` [Buildroot] [PATCH 1/3] support/docker: update Debian distro to a newer tag/date Yann E. MORIN

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=20230207172315.GM4124@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    /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