qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/6] tests/docker: add optional libs to travis.d


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH 3/6] tests/docker: add optional libs to travis.docker
Date: Mon, 31 Oct 2016 10:23:53 +0800
User-agent: Mutt/1.7.1 (2016-10-04)

On Fri, 10/28 17:33, Alex Bennée wrote:
> In our .travis.yml we install a bunch of extra libraries which are not
> part of the packaged QEMU's builddeps. We include them here to make our
> docker container more closely match the state of the system after docker
> has installed the rest of the build dependencies.
> 
> Signed-off-by: Alex Bennée <address@hidden>
> ---
>  tests/docker/dockerfiles/travis.docker | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/docker/dockerfiles/travis.docker 
> b/tests/docker/dockerfiles/travis.docker
> index e4983ae..6bef722 100644
> --- a/tests/docker/dockerfiles/travis.docker
> +++ b/tests/docker/dockerfiles/travis.docker
> @@ -2,5 +2,12 @@ FROM quay.io/travisci/travis-ruby
>  RUN apt-get update
>  RUN apt-get -y build-dep qemu
>  RUN apt-get -y build-dep device-tree-compiler
> -RUN apt-get -y install python2.7 dh-autoreconf
> +# Additional optional libs not in QEMU's builddep
> +RUN apt-get -y install libbrlapi-dev liblttng-ust-dev libcap-ng-dev \
> +                       libnfs-dev libnss3-dev libpixman-1-dev \
> +                       libpng12-dev librados-dev libseccomp-dev \
> +                       libspice-protocol-dev libspice-server-dev \
> +                       libssh2-1-dev liburcu-dev libusb-1.0-0-dev \
> +                       libvte-2.90-dev
> +RUN apt-get -y install python2.7 dh-autoreconf sparse

Any reason to use two apt-get lines?

Also, can you put these package names in $PACKAGES and dump 'dpkg -l $PACKAGES'
to /packages.txt like in ubuntu.docker? That way we can print it in reports by
adding SHOW_ENV=1 in make invocation.

Fam

>  ENV FEATURES pyyaml
> -- 
> 2.10.1
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]