]> Git Repo - qemu.git/commitdiff
docker: use better regex to generate deb-src entries
authorPhilippe Mathieu-Daudé <[email protected]>
Fri, 2 Jun 2017 18:56:13 +0000 (15:56 -0300)
committerAlex Bennée <[email protected]>
Wed, 21 Jun 2017 14:01:48 +0000 (15:01 +0100)
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
[AJB: fixed up following dropping emdebian]
Signed-off-by: Alex Bennée <[email protected]>
tests/docker/dockerfiles/debian.docker

index e44ce2f1c052d521109b17cc801e7525f5c25480..b0e1691bebcd9c53ad98d43093798affc961c848 100644 (file)
@@ -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
This page took 0.026132 seconds and 4 git commands to generate.