qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests/docker: Install tools to cross-debug and build Linux k


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] tests/docker: Install tools to cross-debug and build Linux kernels
Date: Mon, 24 Feb 2020 13:20:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 2/12/20 9:27 PM, Philippe Mathieu-Daudé wrote:
From: Philippe Mathieu-Daudé <address@hidden>

We often run Linux kernels to test QEMU. We sometimes need
to build them manually to use non-default features. We only
miss the tiny 'bc' tool.

The ncurses library is helpful to run 'make menuconfig'.

Finally, gdb-multiarch allow us to debug a TCG guest when its
architecture is different than the host.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
  tests/docker/dockerfiles/debian10.docker | 3 +++
  tests/docker/dockerfiles/debian9.docker  | 3 +++
  2 files changed, 6 insertions(+)

diff --git a/tests/docker/dockerfiles/debian10.docker 
b/tests/docker/dockerfiles/debian10.docker
index 5de79ae552..2fcdc406e8 100644
--- a/tests/docker/dockerfiles/debian10.docker
+++ b/tests/docker/dockerfiles/debian10.docker
@@ -17,14 +17,17 @@ RUN apt update && \
      DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
      DEBIAN_FRONTEND=noninteractive eatmydata \
      apt install -y --no-install-recommends \
+        bc \
          bison \
          build-essential \
          ca-certificates \
          clang \
          dbus \
          flex \
+        gdb-multiarch \
          gettext \
          git \
+        libncurses5-dev \
          pkg-config \
          psmisc \
          python3 \
diff --git a/tests/docker/dockerfiles/debian9.docker 
b/tests/docker/dockerfiles/debian9.docker
index 8cbd742bb5..92edbbf0f4 100644
--- a/tests/docker/dockerfiles/debian9.docker
+++ b/tests/docker/dockerfiles/debian9.docker
@@ -17,13 +17,16 @@ RUN apt update && \
      DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
      DEBIAN_FRONTEND=noninteractive eatmydata \
      apt install -y --no-install-recommends \
+        bc \
          bison \
          build-essential \
          ca-certificates \
          clang \
          flex \
+        gdb-multiarch \
          gettext \
          git \
+        libncurses5-dev \
          pkg-config \
          psmisc \
          python3 \


ping?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]