Re: [PATCH 2/8] docker.py/build: support binary files in --extra-files

2020-04-22 Thread Philippe Mathieu-Daudé
On 4/22/20 7:23 PM, Paolo Bonzini wrote: Read the --extra-files in binary mode to avoid encoding errors. Signed-off-by: Paolo Bonzini --- tests/docker/docker.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/docker/docker.py b/tests/docker/docker.py index a

[PATCH 2/8] docker.py/build: support binary files in --extra-files

2020-04-22 Thread Paolo Bonzini
Read the --extra-files in binary mode to avoid encoding errors. Signed-off-by: Paolo Bonzini --- tests/docker/docker.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/docker/docker.py b/tests/docker/docker.py index ad61747bae..85e1dda10f 100755 --- a/tests/dock