summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2017-06-02 20:56:13 +0200
committerAlex Bennée2017-06-21 16:01:48 +0200
commitcf80eb8d09fba45067344310ae0c01655e6e58cb (patch)
tree6b0149d2bceff6fa8a47ed1bfdd0f2940b4490fb
parentdocker: install ca-certificates package in base image (diff)
downloadqemu-cf80eb8d09fba45067344310ae0c01655e6e58cb.tar.gz
qemu-cf80eb8d09fba45067344310ae0c01655e6e58cb.tar.xz
qemu-cf80eb8d09fba45067344310ae0c01655e6e58cb.zip
docker: use better regex to generate deb-src entries
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> [AJB: fixed up following dropping emdebian] Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
-rw-r--r--tests/docker/dockerfiles/debian.docker2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/dockerfiles/debian.docker b/tests/docker/dockerfiles/debian.docker
index e44ce2f1c0..b0e1691beb 100644
--- a/tests/docker/dockerfiles/debian.docker
+++ b/tests/docker/dockerfiles/debian.docker
@@ -10,7 +10,7 @@
FROM debian:stable-slim
# Duplicate deb line as deb-src
-RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/sources.list
+RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
# Install common build utilities
RUN apt update