support/docker: move to current bookworm (Debian 12) snapshot
PATCH 1/4 support/docker: move to current bookworm (Debian 12) snapshot
Debian 11 is out of security support since 15 August 2024, so move to current Debian 12 instead.
--- support/docker/Dockerfile | 2 +- support/docker/apt-sources.list | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
support/docker/Dockerfile +1 -1
@@ -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-20230202 +FROM debian:bookworm-20250203 LABEL maintainer="Buildroot mailing list <[email protected]>" \ vendor="Buildroot" \
support/docker/apt-sources.list +4 -4
@@ -1,4 +1,4 @@ -# 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 +# Latest just before 20250205151400Z: +deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20250205T145632Z/ bookworm main +deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20250205T145632Z/ bookworm-security main +deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20250205T145632Z/ bookworm-updates main
Signature · 6 lines
2.39.5 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/4 support/docker: add curl
Commit afece24a7272 ("support/download: introduce curl backend for FTP transfers") added curl download support, so add it to the container as well.
--- support/docker/Dockerfile | 1 + 1 file changed, 1 insertion(+)
support/docker/Dockerfile +1 -0
@@ -28,6 +28,7 @@ RUN apt-get -o APT::Retries=3 install -y --no-install-recommends \ ca-certificates \ cmake \ cpio \ + curl \ cvs \ file \ g++-multilib \
Signature · 6 lines
2.39.5 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/4 support/docker: add tar 1.35
In reply to Peter KorsgaardSince commit b11956fb6690 ("support/dependencies: require tar >= 1.35"), Buildroot will build host-tar if the host does not have >= 1.35 available, so add it to the container to save build time.
Debian 12 only provides tar 1.34. Tar 1.35 is available in testing - But that then depends on a newer glibc, so instead build it from source using the --disable-year2038 flag like we do for host-tar and install it into /usr/local/bin so it shadows the Debian one.
This step runs as root (and needs to for make install), so add FORCE_UNSAFE_CONFIGURE=1 as otherwise the configure script errors out.
--- support/docker/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+)
support/docker/Dockerfile +13 -0
@@ -12,6 +12,9 @@ LABEL maintainer="Buildroot mailing list <[email protected]>" \ vendor="Buildroot" \ description="Container with everything needed to run Buildroot" +# We need tar >= 1.35 +ARG TAR_VERSION="1.35" + # Setup environment ENV DEBIAN_FRONTEND noninteractive
@@ -56,6 +59,16 @@ RUN apt-get -o APT::Retries=3 install -y --no-install-recommends \ apt-get -y autoremove && \ apt-get -y clean +# Build host-tar +RUN curl -sfL https://ftpmirror.gnu.org/tar/tar-${TAR_VERSION}.tar.xz | \ + tar -Jx -C /tmp && \ + cd /tmp/tar-${TAR_VERSION} && \ + FORCE_UNSAFE_CONFIGURE=1 ./configure \ + --disable-year2028 && \ + make && \ + make install && \ + rm -rf /tmp/tar-${TAR_VERSION} + # To be able to generate a toolchain with locales, enable one UTF-8 locale RUN sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen && \ /usr/sbin/locale-gen
Signature · 6 lines
2.39.5 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/4 .gitlab-ci.yml: use Debian 12-based container image with curl / tar 1.35
In reply to Peter Korsgaard--- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.yml +1 -1
@@ -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:20230207.1123 +image: $CI_REGISTRY/buildroot.org/buildroot/base:20250205.1514 stages: - generate-gitlab-ci
Signature · 6 lines
2.39.5 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 4/4] .gitlab-ci.yml: use Debian 12-based container image with curl / tar 1.35
Hello Peter, All,
Le 06/02/2025 à 08:23, Peter Korsgaard a écrit :
Quoted 10 lines
Signed-off-by Peter Korsgaard <[email protected]>--- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).gitlab-ci.yml +0
-0
.gitlab-ci.yml line 4
Quoted 5 lines
.gitlab-ci.yml +1
-1@@ -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:20230207.1123 +image: $CI_REGISTRY/buildroot.org/buildroot/base:20250205.1514
This requires some testing with the Buildroot testsuite. Some tests may requires an update due to qemu version change.
See this commit as example:
https://gitlab.com/buildroot.org/buildroot/-/commit/d8447c38f53f98e1df4a209e9f70e54f8b60f36e
Best regards,
Romain
.gitlab-ci.yml line 7
Quoted 3 lines
.gitlab-ci.yml +0
-0stages: - generate-gitlab-ci
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 4/4] .gitlab-ci.yml: use Debian 12-based container image with curl / tar 1.35
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
Hi,
Quoted 11 lines
.gitlab-ci.yml line 4
Quoted 7 lines
+++
b/.gitlab-ci.yml.gitlab-ci.yml +1
-1@@ -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:20230207.1123 +image: $CI_REGISTRY/buildroot.org/buildroot/base:20250205.1514This requires some testing with the Buildroot testsuite. Some tests may requires an update due to qemu version change.
Quoted 3 lines
See this commit as example:
https://gitlab.com/buildroot.org/buildroot/-/commit/d8447c38f53f98e1df4a209e9f70e54f8b60f36e
Sure, how do we trigger a test run before merging to master?
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 4/4] .gitlab-ci.yml: use Debian 12-based container image with curl / tar 1.35
Le 06/02/2025 à 10:03, Peter Korsgaard a écrit :
Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
Hi,
Quoted 10 lines
.gitlab-ci.yml line 4
Quoted 7 lines
+++
b/.gitlab-ci.yml.gitlab-ci.yml +1
-1@@ -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:20230207.1123 +image: $CI_REGISTRY/buildroot.org/buildroot/base:20250205.1514This requires some testing with the Buildroot testsuite. Some tests may requires an update due to qemu version change.
Quoted 6 lines
Quoted 3 lines
See this commit as example:
https://gitlab.com/buildroot.org/buildroot/-/commit/d8447c38f53f98e1df4a209e9f70e54f8b60f36e
Sure, how do we trigger a test run before merging to master?
Last time I used my personal gitlab fork to trigger a new pipeline and local builds when gitlab-ci minutes was exhausted... but it takes a lot of time.
I guess you needs some volunteers to tests this update.
Is it ok to push a testing branch to trigger a pipeline for the runtime tests?
Best regards,
Romain
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 4/4] .gitlab-ci.yml: use Debian 12-based container image with curl / tar 1.35
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
Hi,
Quoted 8 lines
Quoted 1 line
Sure, how do we trigger a test run before merging to master?
Last time I used my personal gitlab fork to trigger a new pipeline and local builds when gitlab-ci minutes was exhausted... but it takes a lot of time.
I guess you needs some volunteers to tests this update.
Is it ok to push a testing branch to trigger a pipeline for the runtime tests?
Yes please (I see you alredy did) - Thanks!
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 4/4] .gitlab-ci.yml: use Debian 12-based container image with curl / tar 1.35
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
"Peter" == Peter Korsgaard <[email protected]> writes:
"Romain" == Romain Naour <[email protected]> writes:
Hi,
Quoted 1 line
Quoted 1 line
Sure, how do we trigger a test run before merging to master?
Quoted 8 lines
Quoted 6 lines
Last time I used my personal gitlab fork to trigger a new pipeline and local builds when gitlab-ci minutes was exhausted... but it takes a lot of time.
I guess you needs some volunteers to tests this update.
Is it ok to push a testing branch to trigger a pipeline for the runtime tests?
Yes please (I see you alredy did) - Thanks!
With the basic shellcheck and flake8 issues fixed I have now rebuilt/repushed the container and applied the series, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot