[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 05/23] tests/docker: Install Ubuntu images noninterac
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL 05/23] tests/docker: Install Ubuntu images noninteractively |
Date: |
Tue, 23 Jul 2019 11:35:54 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
We correctly use the DEBIAN_FRONTEND environment variable on
the Debian images, but forgot the Ubuntu ones are based on it.
Since building docker images is not interactive, we need to
inform the APT tools about it using the DEBIAN_FRONTEND
environment variable (we already use it on our Debian images).
This fixes:
$ make docker-image-ubuntu V=1
[...]
Setting up tzdata (2019b-0ubuntu0.19.04) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------
Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.
1. Africa 4. Australia 7. Atlantic 10. Pacific 13. Etc
2. America 5. Arctic 8. Europe 11. SystemV
3. Antarctica 6. Asia 9. Indian 12. US
Geographic area: 12
[HANG]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
diff --git a/tests/docker/dockerfiles/ubuntu.docker
b/tests/docker/dockerfiles/ubuntu.docker
index 2500ec84b6f..a4f601395c8 100644
--- a/tests/docker/dockerfiles/ubuntu.docker
+++ b/tests/docker/dockerfiles/ubuntu.docker
@@ -66,6 +66,6 @@ ENV PACKAGES flex bison \
texinfo \
xfslibs-dev
RUN apt-get update && \
- apt-get -y install $PACKAGES
+ DEBIAN_FRONTEND=noninteractive apt-get -y install $PACKAGES
RUN dpkg -l $PACKAGES | sort > /packages.txt
ENV FEATURES clang pyyaml sdl2
diff --git a/tests/docker/dockerfiles/ubuntu1804.docker
b/tests/docker/dockerfiles/ubuntu1804.docker
index 0bb8088658d..44bbf0f77ae 100644
--- a/tests/docker/dockerfiles/ubuntu1804.docker
+++ b/tests/docker/dockerfiles/ubuntu1804.docker
@@ -53,6 +53,6 @@ ENV PACKAGES flex bison \
texinfo \
xfslibs-dev
RUN apt-get update && \
- apt-get -y install $PACKAGES
+ DEBIAN_FRONTEND=noninteractive apt-get -y install $PACKAGES
RUN dpkg -l $PACKAGES | sort > /packages.txt
ENV FEATURES clang pyyaml sdl2
--
2.20.1
- [Qemu-devel] [PULL for 4.1-rc2 00/23] testing updates (green CI!), Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 01/23] archive-source: also create a stash for submodules, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 03/23] tests/docker: Install Sphinx in the Ubuntu images, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 02/23] tests/docker: add test-misc for building tools & docs, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 04/23] tests/docker: Install Sphinx in the Fedora image, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 06/23] tests/migration-test: don't spam the logs when we fail, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 08/23] shippable: re-enable the windows cross builds, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 05/23] tests/docker: Install Ubuntu images noninteractively,
Alex Bennée <=
- [Qemu-devel] [PULL 07/23] tests/dockerfiles: update the win cross builds to stretch, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 09/23] tests/docker: Install Sphinx in the Debian images, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 10/23] tests/docker: Install the NSIS tools in the MinGW capable images, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 12/23] tests/docker: Install texinfo in the Fedora image, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 23/23] gitlab-ci: Remove qcow2 tests that are handled by "make check" already, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 11/23] tests/docker: Set the correct cross-PKG_CONFIG_PATH in the MXE images, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 19/23] tests/docker: invoke the DEBUG shell with --noprofile/--norc, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 21/23] tests/qemu-iotests/group: Remove some more tests from the "auto" group, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 17/23] hw/i386: also turn off VMMOUSE is VMPORT is disabled, Alex Bennée, 2019/07/23
- [Qemu-devel] [PULL 14/23] buildsys: The NSIS Windows build requires qemu-nsis.bmp installed, Alex Bennée, 2019/07/23