All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: Arnout Vandecappelle <arnout@mind.be>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 11/16] support/docker: bump docker image for the gitlab-ci to Debian bullseye
Date: Wed, 22 Sep 2021 22:50:50 +0200	[thread overview]
Message-ID: <79918a91-fa6e-2f69-0426-51ca2ed185f0@gmail.com> (raw)
In-Reply-To: <d70bb907-428e-ba30-ed79-9700113e00fe@mind.be>

Hello Arnout,

Le 22/09/2021 à 22:13, Arnout Vandecappelle a écrit :
> 
> 
> On 12/09/2021 16:11, Romain Naour wrote:
>> Starting with Qemu 6.1.0, gcc 7.5 is needed to build.
>> Since we build host-qemu package for qemu defconfig, we have to
>> upgrade to (at least) Debian buster that provide gcc 8 as host compiler.
>>
>> While testing this upgrate, the test_edk2 failed since it actually
>> requires Qemu >= 4.1.0 to support arm SBSA reference machine [1].
>> Debian Buster only provide Qemu 3.1.
>>
>> Finally, upgrade to Debian bullseye but it requires some linux
>> kernel version bump in several defconfigs since host gcc is based
>> on gcc-10 [2].
>>
>> Add explicitely python package in the Docker file to install python2
>> on the host.
>>
>> [1]
>> https://git.qemu.org/?p=qemu.git;a=commit;h=64580903c2b3aee08d74d64e6248a313b246cb69
>>
>> [2]
>> http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=621f2ded601546119fabccd1651b1ae29d26cd38
>>
>>
>> Signed-off-by: Romain Naour <romain.naour@gmail.com>
>> ---
>> The docker image must be rebuild and pushed to
>> https://hub.docker.com/r/buildroot/base/
>> ---
>>   support/docker/Dockerfile       | 4 +++-
>>   support/docker/apt-sources.list | 8 ++++----
>>   2 files changed, 7 insertions(+), 5 deletions(-)
>>
>> diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile
>> index a9bacca3a0..795b26c276 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:stretch-20171210
>> +FROM debian:bullseye-20210902
>>     LABEL maintainer="Buildroot mailing list <buildroot@buildroot.org>" \
>>         vendor="Buildroot" \
>> @@ -36,6 +36,8 @@ RUN apt-get install -y --no-install-recommends \
>>           libncurses5-dev \
>>           locales \
>>           mercurial \
>> +        python \
>> +        python-six \
> 
>  As discussed, I applied to master without these python changes, pushed a new
> docker image to dockerhub, and sent a patch that updates .gitlab-ci.yml.

Ok, great!

>  I believe the rest of the series can only be applied after that update is
> committed, right?

Yes, we need to switch to this new Docker image before merging qemu update.
I tested the series using image stored in my dockerhub account.
But we can't avoid the ubifs regression in the testsuite...

Best regards,
Romain

> 
>  Regards,
>  Arnout
> 
>>           python3 \
>>           python3-flake8 \
>>           python3-nose2 \
>> diff --git a/support/docker/apt-sources.list b/support/docker/apt-sources.list
>> index 789fb8fc17..0f872fd398 100644
>> --- a/support/docker/apt-sources.list
>> +++ b/support/docker/apt-sources.list
>> @@ -1,4 +1,4 @@
>> -# Latest just before 20171210T000000Z:
>> -deb [check-valid-until=no]
>> http://snapshot.debian.org/archive/debian/20171209T220346Z/ stretch main
>> -deb [check-valid-until=no]
>> http://snapshot.debian.org/archive/debian/20171209T220346Z/ stretch-updates main
>> -deb [check-valid-until=no]
>> http://snapshot.debian.org/archive/debian-security/20171209T224618Z/
>> stretch/updates main
>> +# 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
>>

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

  reply	other threads:[~2021-09-22 20:50 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-12 14:11 [Buildroot] [PATCH 03/16] support/testing: test_f2fs: bump to kernel 4.19.204 Romain Naour
2021-09-12 14:11 ` [Buildroot] [PATCH 04/16] support/testing: test_glxinfo: " Romain Naour
2021-10-04 20:02   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 05/16] support/testing: test_openrc: switch to ARM arm toolchain and builtin kernel Romain Naour
2021-10-04 20:02   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 06/16] support/testing: test_iso9660: bump to kernel 4.19.204 Romain Naour
2021-10-04 20:02   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 07/16] support/testing: test_lxc " Romain Naour
2021-10-04 20:03   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 08/16] support/testing: test_rust: remove kernel build Romain Naour
2021-10-04 20:03   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 09/16] support/testing: test_openssh: use a prebuilt toolchain Romain Naour
2021-10-04 20:06   ` Peter Korsgaard
2021-11-14 17:20     ` Romain Naour
2021-09-12 14:11 ` [Buildroot] [PATCH 10/16] support/testing: switch to prebuilt toolchain, core2duo to Nehalem Romain Naour
2021-10-04 20:09   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 11/16] support/docker: bump docker image for the gitlab-ci to Debian bullseye Romain Naour
2021-09-21 20:34   ` Arnout Vandecappelle
2021-09-22 20:10   ` [Buildroot] [PATCH] .gitlab-ci.yml: update docker image to 20210922.2200 Arnout Vandecappelle (Essensium/Mind)
2021-09-22 21:45     ` Romain Naour
2021-09-23 18:25       ` Arnout Vandecappelle
2021-09-23 20:52         ` Romain Naour
2021-10-07 20:31           ` Romain Naour
2021-10-17 17:05     ` Yann E. MORIN
2021-09-22 20:13   ` [Buildroot] [PATCH 11/16] support/docker: bump docker image for the gitlab-ci to Debian bullseye Arnout Vandecappelle
2021-09-22 20:50     ` Romain Naour [this message]
2021-09-12 14:11 ` [Buildroot] [PATCH 12/16] package/qemu: bump to version 6.1.0 Romain Naour
2021-10-17 19:49   ` Yann E. MORIN
2021-09-12 14:11 ` [Buildroot] [PATCH 13/16] support/testing: test_ubi: reduce the rootfs.ubi size to 64M to match the Qemu emulated flash device Romain Naour
2021-10-17 19:49   ` Yann E. MORIN
2021-09-12 14:11 ` [Buildroot] [PATCH 14/16] support/testing: test_ubi: add image format on the qemu command line Romain Naour
2021-10-17 19:50   ` Yann E. MORIN
2021-09-12 14:11 ` [Buildroot] [PATCH 15/16] support/testing: update logical eraseblock and physical eraseblock size for qemu >= 2.9 Romain Naour
2021-10-17 19:51   ` Yann E. MORIN
2021-10-17 20:05     ` Romain Naour
2021-09-12 14:11 ` [Buildroot] [PATCH 16/16] support/testing: test_ubi: allow to boot several times using the same ubi image Romain Naour
2021-10-17 19:51   ` Yann E. MORIN
2021-10-04 20:02 ` [Buildroot] [PATCH 03/16] support/testing: test_f2fs: bump to kernel 4.19.204 Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2021-09-12 14:06 [Buildroot] [PATCH 01/16] support/testing: test_file_capabilities: " Romain Naour
2021-09-12 14:06 ` [Buildroot] [PATCH 02/16] support/testing: test_systemd: " Romain Naour
2021-10-04 20:02   ` Peter Korsgaard
2021-09-12 14:06 ` [Buildroot] [PATCH 03/16] support/testing: test_f2fs: " Romain Naour
2021-10-04 20:01 ` [Buildroot] [PATCH 01/16] support/testing: test_file_capabilities: " Peter Korsgaard

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=79918a91-fa6e-2f69-0426-51ca2ed185f0@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.