[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 06/21] tests: use in-place sed magic for enabling deb
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL 06/21] tests: use in-place sed magic for enabling deb-src in travis image |
Date: |
Mon, 14 Jan 2019 15:01:14 +0000 |
This avoids potential problems with duplicates.
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
diff --git a/tests/docker/dockerfiles/travis.docker
b/tests/docker/dockerfiles/travis.docker
index 03ebfb0ef2..46cf367488 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
--
2.17.1
- [Qemu-devel] [PULL 00/21] misc testing fixes for Travis and docker, Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 03/21] tests: remove obsolete 'debian' dockerfile, Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 06/21] tests: use in-place sed magic for enabling deb-src in travis image,
Alex Bennée <=
- [Qemu-devel] [PULL 04/21] tests: update Fedora dockerfile to use Fedora 29, Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 07/21] travis: add whitespace between each major section & matrix entry, Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 01/21] docker: Use stable git tag for virglrenderer, Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 05/21] tests: update Fedora i386 cross image to Fedora 29, Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 08/21] travis: define all the build matrix entries in one place, Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 20/21] tests: use g_usleep instead of rem = sleep(time), Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 09/21] travis: standardize the syntax used for env variables, Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 15/21] travis: remove matrix settings that duplicate global settings, Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 10/21] travis: don't clone git submodules upfront, Alex Bennée, 2019/01/14
- [Qemu-devel] [PULL 02/21] tests: run ldconfig after installing extra software, Alex Bennée, 2019/01/14