[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/7] tests/docker: Simplify debian-all-test-cross
From: |
Alex Bennée |
Subject: |
Re: [PATCH 2/7] tests/docker: Simplify debian-all-test-cross |
Date: |
Mon, 18 Oct 2021 12:33:11 +0100 |
User-agent: |
mu4e 1.7.0; emacs 28.0.60 |
Philippe Mathieu-Daudé <f4bug@amsat.org> writes:
> On 10/18/21 12:54, Alex Bennée wrote:
>>
>> Richard Henderson <richard.henderson@linaro.org> writes:
>>
>>> The base debian10 image contains enough to build qemu;
>>> we do not need to repeat that within the new image.
>>>
>>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>>> ---
>>> tests/docker/dockerfiles/debian-all-test-cross.docker | 5 -----
>>> 1 file changed, 5 deletions(-)
>>>
>>> diff --git a/tests/docker/dockerfiles/debian-all-test-cross.docker
>>> b/tests/docker/dockerfiles/debian-all-test-cross.docker
>>> index dedcea58b4..b185b7c15a 100644
>>> --- a/tests/docker/dockerfiles/debian-all-test-cross.docker
>>> +++ b/tests/docker/dockerfiles/debian-all-test-cross.docker
>>> @@ -8,11 +8,6 @@
>>> #
>>> FROM qemu/debian10
>>>
>>> -# What we need to build QEMU itself
>>> -RUN apt update && \
>>> - DEBIAN_FRONTEND=noninteractive eatmydata \
>>> - apt build-dep -yy qemu
>>> -
>>> # Add the foreign architecture we want and install dependencies
>>> RUN DEBIAN_FRONTEND=noninteractive eatmydata \
>>> apt install -y --no-install-recommends \
>>
>> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
>
> IIUC if we keep --arch-only in the previous step (previous patch),
> this step is required here.
What for? The --arch-only prevents the attempt to install cross
compilers that don't exist on a given host but we install all the cross
compilers we need for tests explicitly.
--
Alex Bennée
- [PATCH 0/7] tests: docker images for hexagon, nios2, microblaze, Richard Henderson, 2021/10/14
- [PATCH 3/7] tests/docker: Update debian-hexagon-cross to a newer toolchain, Richard Henderson, 2021/10/14
- [PATCH 4/7] gitlab-ci: Remove special casing for hexagon testing, Richard Henderson, 2021/10/14
- [PATCH 7/7] tests/tcg: Enable container_cross_cc for microblaze, Richard Henderson, 2021/10/14
- [PATCH 6/7] tests/docker: Add debian-microblaze-cross image, Richard Henderson, 2021/10/14
- [PATCH 5/7] tests/docker: Add debian-nios2-cross image, Richard Henderson, 2021/10/14
- Re: [PATCH 0/7] tests: docker images for hexagon, nios2, microblaze, Alex Bennée, 2021/10/19