diff mbox series

[v1,11/25] tests/docker: remove amd64 qemu/debian10 dependency

Message ID 20220826172128.353798-12-alex.bennee@linaro.org
State Superseded
Headers show
Series testing updates and mips deprecation | expand

Commit Message

Alex Bennée Aug. 26, 2022, 5:21 p.m. UTC
We missed removing this dependency when we flattened the build.

Fixes 9e19fd7d4a (tests/docker: update debian-amd64 with lcitool)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 tests/docker/Makefile.include | 1 -
 1 file changed, 1 deletion(-)

Comments

Thomas Huth Aug. 26, 2022, 8:26 p.m. UTC | #1
On 26/08/2022 19.21, Alex Bennée wrote:
> We missed removing this dependency when we flattened the build.
> 
> Fixes 9e19fd7d4a (tests/docker: update debian-amd64 with lcitool)
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   tests/docker/Makefile.include | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
> index 5c9398bbc9..c3375f89c5 100644
> --- a/tests/docker/Makefile.include
> +++ b/tests/docker/Makefile.include
> @@ -73,7 +73,6 @@ docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-bootstrap.docker
>   # we don't run tests on intermediate images (used as base by another image)
>   DOCKER_PARTIAL_IMAGES := debian10 debian11
>   ifeq ($(HOST_ARCH),x86_64)
> -docker-image-debian-amd64: docker-image-debian10
>   DOCKER_PARTIAL_IMAGES += debian-amd64-cross
>   else
>   docker-image-debian-amd64-cross: docker-image-debian10

What about the "DOCKER_PARTIAL_IMAGES += debian-amd64" that comes later in 
this file? Do we still need that line?

  Thomas
Alex Bennée Aug. 26, 2022, 9:47 p.m. UTC | #2
Thomas Huth <thuth@redhat.com> writes:

> On 26/08/2022 19.21, Alex Bennée wrote:
>> We missed removing this dependency when we flattened the build.
>> Fixes 9e19fd7d4a (tests/docker: update debian-amd64 with lcitool)
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>>   tests/docker/Makefile.include | 1 -
>>   1 file changed, 1 deletion(-)
>> diff --git a/tests/docker/Makefile.include
>> b/tests/docker/Makefile.include
>> index 5c9398bbc9..c3375f89c5 100644
>> --- a/tests/docker/Makefile.include
>> +++ b/tests/docker/Makefile.include
>> @@ -73,7 +73,6 @@ docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-bootstrap.docker
>>   # we don't run tests on intermediate images (used as base by another image)
>>   DOCKER_PARTIAL_IMAGES := debian10 debian11
>>   ifeq ($(HOST_ARCH),x86_64)
>> -docker-image-debian-amd64: docker-image-debian10
>>   DOCKER_PARTIAL_IMAGES += debian-amd64-cross
>>   else
>>   docker-image-debian-amd64-cross: docker-image-debian10
>
> What about the "DOCKER_PARTIAL_IMAGES += debian-amd64" that comes
> later in this file? Do we still need that line?

Yes because this stops us using the image on non-x86 hosts. It's poorly
named but I don't want to further complicate the Makefile while trying
to simplify it ;-)

>
>  Thomas
Thomas Huth Aug. 27, 2022, 4:59 a.m. UTC | #3
On 26/08/2022 23.47, Alex Bennée wrote:
> 
> Thomas Huth <thuth@redhat.com> writes:
> 
>> On 26/08/2022 19.21, Alex Bennée wrote:
>>> We missed removing this dependency when we flattened the build.
>>> Fixes 9e19fd7d4a (tests/docker: update debian-amd64 with lcitool)
>>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>>> ---
>>>    tests/docker/Makefile.include | 1 -
>>>    1 file changed, 1 deletion(-)
>>> diff --git a/tests/docker/Makefile.include
>>> b/tests/docker/Makefile.include
>>> index 5c9398bbc9..c3375f89c5 100644
>>> --- a/tests/docker/Makefile.include
>>> +++ b/tests/docker/Makefile.include
>>> @@ -73,7 +73,6 @@ docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-bootstrap.docker
>>>    # we don't run tests on intermediate images (used as base by another image)
>>>    DOCKER_PARTIAL_IMAGES := debian10 debian11
>>>    ifeq ($(HOST_ARCH),x86_64)
>>> -docker-image-debian-amd64: docker-image-debian10
>>>    DOCKER_PARTIAL_IMAGES += debian-amd64-cross
>>>    else
>>>    docker-image-debian-amd64-cross: docker-image-debian10
>>
>> What about the "DOCKER_PARTIAL_IMAGES += debian-amd64" that comes
>> later in this file? Do we still need that line?
> 
> Yes because this stops us using the image on non-x86 hosts. It's poorly
> named but I don't want to further complicate the Makefile while trying
> to simplify it ;-)

All right, thanks for the explanation! In that case the patch seems fine to me:

Reviewed-by: Thomas Huth <thuth@redhat.com>
diff mbox series

Patch

diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 5c9398bbc9..c3375f89c5 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -73,7 +73,6 @@  docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-bootstrap.docker
 # we don't run tests on intermediate images (used as base by another image)
 DOCKER_PARTIAL_IMAGES := debian10 debian11
 ifeq ($(HOST_ARCH),x86_64)
-docker-image-debian-amd64: docker-image-debian10
 DOCKER_PARTIAL_IMAGES += debian-amd64-cross
 else
 docker-image-debian-amd64-cross: docker-image-debian10