[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 16/19] docker: Use a stable snapshot for Debi
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH v1 16/19] docker: Use a stable snapshot for Debian Sid |
Date: |
Fri, 11 Jan 2019 14:13:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 1/10/19 6:45 PM, Alex Bennée wrote:
> From: Philippe Mathieu-Daudé <address@hidden>
>
> The Debian Sid repository is not garanteed to be stable, as his
> 'unstable' name suggest :)
> To allow quick testing, packages are pushed various time a day,
> which my be annoying when trying to use it for stable development
> (which is not recommended, but Sid provides edge packages we use
> for testing).
>
> Debian provides repositories snapshots which are suitable for our
> use. Pick a recent date that works. When required, update to newer
> releases will be easy.
>
> This fixes current issues with this image:
>
> $ make docker-image-debian-sid
> [...]
> The following packages have unmet dependencies:
> build-essential : Depends: dpkg-dev (>= 1.17.11) but it is not going to be
> installed
> git : Depends: perl but it is not going to be installed
> Depends: liberror-perl but it is not going to be installed
> pkg-config : Depends: libdpkg-perl but it is not going to be installed
> texinfo : Depends: perl (>= 5.26.2-6) but it is not going to be installed
> Depends: libtext-unidecode-perl but it is not going to be
> installed
> Depends: libxml-libxml-perl but it is not going to be installed
> E: Unable to correct problems, you have held broken packages.
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> [AJB: also tweak FROM to a earlier snapshot]
> Signed-off-by: Alex Bennée <address@hidden>
> ---
> tests/docker/dockerfiles/debian-sid.docker | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/tests/docker/dockerfiles/debian-sid.docker
> b/tests/docker/dockerfiles/debian-sid.docker
> index 4e4cda0ba5..676941cb32 100644
> --- a/tests/docker/dockerfiles/debian-sid.docker
> +++ b/tests/docker/dockerfiles/debian-sid.docker
> @@ -11,7 +11,12 @@
> # updated and trigger a re-build.
> #
>
> -FROM debian:sid-slim
> +# This must be earlier than the snapshot date we are aiming for
> +FROM debian:sid-20181011-slim
> +
> +# Use a snapshot known to work (see http://snapshot.debian.org/#Usage)
> +ENV DEBIAN_SNAPSHOT_DATE "20181030"
> +RUN sed -i "s%^deb \(https\?://\)deb.debian.org/debian/\? \(.*\)%deb
> [check-valid-until=no]
> \1snapshot.debian.org/archive/debian/${DEBIAN_SNAPSHOT_DATE} \2%"
> /etc/apt/sources.list
These 2 lines are now dup (probably because Fam's PR entered before this
series).
>
> # Use a snapshot known to work (see http://snapshot.debian.org/#Usage)
> ENV DEBIAN_SNAPSHOT_DATE "20181030"
>
Without the dup lines:
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
- [Qemu-devel] [PATCH v1 13/19] travis: stop using container based envs, (continued)
- [Qemu-devel] [PATCH v1 13/19] travis: stop using container based envs, Alex Bennée, 2019/01/10
- [Qemu-devel] [PATCH v1 01/19] docker: Use stable git tag for virglrenderer, Alex Bennée, 2019/01/10
- [Qemu-devel] [PATCH v1 02/19] tests: run ldconfig after installing extra software, Alex Bennée, 2019/01/10
- [Qemu-devel] [PATCH v1 07/19] travis: add whitespace between each major section & matrix entry, Alex Bennée, 2019/01/10
- [Qemu-devel] [PATCH v1 09/19] travis: standardize the syntax used for env variables, Alex Bennée, 2019/01/10
- [Qemu-devel] [PATCH v1 17/19] travis: bump to Xenial baseline, Alex Bennée, 2019/01/10
- [Qemu-devel] [PATCH v1 19/19] tests/docker: remove SID_AGE test hack, Alex Bennée, 2019/01/10
- [Qemu-devel] [PATCH v1 16/19] docker: Use a stable snapshot for Debian Sid, Alex Bennée, 2019/01/10
- Re: [Qemu-devel] [PATCH v1 16/19] docker: Use a stable snapshot for Debian Sid,
Philippe Mathieu-Daudé <=
- [Qemu-devel] [PATCH v1 15/19] travis: remove matrix settings that duplicate global settings, Alex Bennée, 2019/01/10
- Re: [Qemu-devel] [PATCH v1 00/19] testing/next queue for travis and docker, no-reply, 2019/01/13