aboutsummaryrefslogtreecommitdiff
path: root/tests/docker
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-01-09 13:53:57 +0000
committerAlex Bennée <alex.bennee@linaro.org>2019-01-14 14:52:30 +0000
commit53fe2431c77ead6d1a88cfeb43d557c34725309f (patch)
tree8d85c7177784485b974827552d899679c8e5b85b /tests/docker
parent62559b9167c5f3105867da36db88662df5ce135e (diff)
downloadqemu-53fe2431c77ead6d1a88cfeb43d557c34725309f.zip
qemu-53fe2431c77ead6d1a88cfeb43d557c34725309f.tar.gz
qemu-53fe2431c77ead6d1a88cfeb43d557c34725309f.tar.bz2
tests: use in-place sed magic for enabling deb-src in travis image
This avoids potential problems with duplicates. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/docker')
-rw-r--r--tests/docker/dockerfiles/travis.docker2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/dockerfiles/travis.docker b/tests/docker/dockerfiles/travis.docker
index 03ebfb0..46cf367 100644
--- a/tests/docker/dockerfiles/travis.docker
+++ b/tests/docker/dockerfiles/travis.docker
@@ -2,7 +2,7 @@ FROM travisci/ci-garnet:packer-1512502276-986baf0
ENV DEBIAN_FRONTEND noninteractive
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
-RUN cat /etc/apt/sources.list | sed "s/# deb-src/deb-src/" >> /etc/apt/sources.list
+RUN sed -i "s/# deb-src/deb-src/" /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y build-dep qemu
RUN apt-get -y install device-tree-compiler python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools gcovr