Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] support/docker: update Debian distro to a newer tag/date
@ 2023-02-07 16:31 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
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-02-07 16:31 UTC (permalink / raw)
  To: Buildroot List; +Cc: Yann E. MORIN, Thomas Petazzoni

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 support/docker/Dockerfile       | 2 +-
 support/docker/apt-sources.list | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile
index d775ae23e1..de1534e77a 100644
--- a/support/docker/Dockerfile
+++ b/support/docker/Dockerfile
@@ -6,7 +6,7 @@
 # We use a specific tag for the base image *and* the corresponding date
 # for the repository., so do not forget to update the apt-sources.list
 # file that is shipped next to this Dockerfile.
-FROM debian:bullseye-20210902
+FROM debian:bullseye-20230202
 
 LABEL maintainer="Buildroot mailing list <buildroot@buildroot.org>" \
       vendor="Buildroot" \
diff --git a/support/docker/apt-sources.list b/support/docker/apt-sources.list
index 0f872fd398..849996d9f7 100644
--- a/support/docker/apt-sources.list
+++ b/support/docker/apt-sources.list
@@ -1,4 +1,4 @@
-# Latest just before 20210817T000000Z:
-deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20210902T205533Z/ bullseye main
-deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20210902T193650Z/ bullseye-security main
-deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20210902T205533Z/ bullseye-updates main
+# Latest just before 20230207T102800Z:
+deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20230206T092119Z/ bullseye main
+deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20230206T092119Z/ bullseye-security main
+deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20230206T092119Z/ bullseye-updates main
-- 
2.38.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/3] support/docker: use APT::Retries in apt-get calls to retry
  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 ` Thomas Petazzoni via buildroot
  2023-02-07 17:23   ` Yann E. MORIN
  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:22 ` [Buildroot] [PATCH 1/3] support/docker: update Debian distro to a newer tag/date Yann E. MORIN
  2 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-02-07 16:31 UTC (permalink / raw)
  To: Buildroot List; +Cc: Yann E. MORIN, Thomas Petazzoni

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>
---
 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

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

* [Buildroot] [PATCH 3/3] .gitlab-ci.yml: update Docker image to use
  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 16:31 ` 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
  2 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-02-07 16:31 UTC (permalink / raw)
  To: Buildroot List; +Cc: Yann E. MORIN, Thomas Petazzoni

We have a new Docker image, updated with the new requirements from
bcd15aa08aab1e8292b93995c44dc765a9801632 ("support/docker: add
python3-magic"), but also with an updated Debian Bullseye
installation. Let's use it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cad35c96bc..ed17bb14b9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
 # Configuration for Gitlab-CI.
 # Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
 
-image: $CI_REGISTRY/buildroot.org/buildroot/base:20220206.1756
+image: $CI_REGISTRY/buildroot.org/buildroot/base:20230207.1123
 
 stages:
   - generate-gitlab-ci
-- 
2.38.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/3] support/docker: update Debian distro to a newer tag/date
  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 16:31 ` [Buildroot] [PATCH 3/3] .gitlab-ci.yml: update Docker image to use Thomas Petazzoni via buildroot
@ 2023-02-07 17:22 ` Yann E. MORIN
  2 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2023-02-07 17:22 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Buildroot List

Thomas, All,

On 2023-02-07 17:31 +0100, Thomas Petazzoni via buildroot spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  support/docker/Dockerfile       | 2 +-
>  support/docker/apt-sources.list | 8 ++++----
>  2 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile
> index d775ae23e1..de1534e77a 100644
> --- a/support/docker/Dockerfile
> +++ b/support/docker/Dockerfile
> @@ -6,7 +6,7 @@
>  # We use a specific tag for the base image *and* the corresponding date
>  # for the repository., so do not forget to update the apt-sources.list
>  # file that is shipped next to this Dockerfile.
> -FROM debian:bullseye-20210902
> +FROM debian:bullseye-20230202
>  
>  LABEL maintainer="Buildroot mailing list <buildroot@buildroot.org>" \
>        vendor="Buildroot" \
> diff --git a/support/docker/apt-sources.list b/support/docker/apt-sources.list
> index 0f872fd398..849996d9f7 100644
> --- a/support/docker/apt-sources.list
> +++ b/support/docker/apt-sources.list
> @@ -1,4 +1,4 @@
> -# Latest just before 20210817T000000Z:
> -deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20210902T205533Z/ bullseye main
> -deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20210902T193650Z/ bullseye-security main
> -deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20210902T205533Z/ bullseye-updates main
> +# Latest just before 20230207T102800Z:
> +deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20230206T092119Z/ bullseye main
> +deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20230206T092119Z/ bullseye-security main
> +deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20230206T092119Z/ bullseye-updates main
> -- 
> 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

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

* Re: [Buildroot] [PATCH 2/3] support/docker: use APT::Retries in apt-get calls to retry
  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
  0 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2023-02-07 17:23 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Buildroot List

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

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

* Re: [Buildroot] [PATCH 3/3] .gitlab-ci.yml: update Docker image to use
  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
  0 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2023-02-07 17:23 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Buildroot List

Thomas, All,

On 2023-02-07 17:31 +0100, Thomas Petazzoni via buildroot spake thusly:
> We have a new Docker image, updated with the new requirements from
> bcd15aa08aab1e8292b93995c44dc765a9801632 ("support/docker: add
> python3-magic"), but also with an updated Debian Bullseye
> installation. Let's use it.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  .gitlab-ci.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index cad35c96bc..ed17bb14b9 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -1,7 +1,7 @@
>  # Configuration for Gitlab-CI.
>  # Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
>  
> -image: $CI_REGISTRY/buildroot.org/buildroot/base:20220206.1756
> +image: $CI_REGISTRY/buildroot.org/buildroot/base:20230207.1123
>  
>  stages:
>    - generate-gitlab-ci
> -- 
> 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

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

end of thread, other threads:[~2023-02-07 17:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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