tests/docker: Install tools to cross-debug and build Linux kernels
PATCH 1/1 tests/docker: Install tools to cross-debug and build Linux kernels
From: Philippe Mathieu-Daudé <[email protected]>
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.
--- tests/docker/dockerfiles/debian10.docker | 3 +++ tests/docker/dockerfiles/debian9.docker | 3 +++ 2 files changed, 6 insertions(+)
tests/docker/dockerfiles/debian10.docker +3 -0
@@ -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 \
tests/docker/dockerfiles/debian9.docker +3 -0
@@ -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 \
Signature · 1 line
2.21.1
Quoted 51 lines · Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé <[email protected]>
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é <[email protected]>--- tests/docker/dockerfiles/debian10.docker | 3 +++ tests/docker/dockerfiles/debian9.docker | 3 +++ 2 files changed, 6 insertions(+)tests/docker/dockerfiles/debian10.docker +3
-0@@ -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 \tests/docker/dockerfiles/debian9.docker +1
-0@@ -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 \
tests/docker/dockerfiles/debian9.docker RUN apt update && \ · line 32
Quoted 10 lines
tests/docker/dockerfiles/debian9.docker +2
-0ca-certificates \ clang \ flex \ + gdb-multiarch \ gettext \ git \ + libncurses5-dev \ pkg-config \ psmisc \ python3 \
ping?
ping ping?
Quoted 64 lines · Philippe Mathieu-Daudé
Quoted 51 lines · Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé <[email protected]>
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é <[email protected]>---
tests/docker/dockerfiles/debian10.docker | 3 +++ tests/docker/dockerfiles/debian9.docker | 3 +++2 files changed, 6 insertions(+)tests/docker/dockerfiles/debian10.docker +3
-0@@ -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 \tests/docker/dockerfiles/debian9.docker +1
-0@@ -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 \tests/docker/dockerfiles/debian9.docker RUN apt update && \ · line 32
Quoted 10 lines
tests/docker/dockerfiles/debian9.docker +2
-0ca-certificates \ clang \ flex \ + gdb-multiarch \ gettext \ git \ + libncurses5-dev \ pkg-config \ psmisc \ python3 \ping?
Quoted 8 lines · Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé <[email protected]>
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'.
Quoted 8 lines
Finally, gdb-multiarch allow us to debug a TCG guest when its architecture is different than the host.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- tests/docker/dockerfiles/debian10.docker | 3 +++ tests/docker/dockerfiles/debian9.docker | 3 +++ 2 files changed, 6 insertions(+)
Make sense to add these packages:
Thanks,
Stefano
Quoted 48 lines
tests/docker/dockerfiles/debian10.docker +3
-0@@ -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 \tests/docker/dockerfiles/debian9.docker +3
-0@@ -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 \Signature · 1 line
2.21.1
Quoted 1 line · Philippe Mathieu-Daudé
ping ping?
Queued to testing/next, thanks. Sorry for the delay.
Quoted 67 lines · Philippe Mathieu-Daudé
Quoted 65 lines · Philippe Mathieu-Daudé
Quoted 53 lines
From: Philippe Mathieu-Daudé <[email protected]>
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é <[email protected]>--- tests/docker/dockerfiles/debian10.docker | 3 +++ tests/docker/dockerfiles/debian9.docker | 3 +++ 2 files changed, 6 insertions(+)tests/docker/dockerfiles/debian10.docker +3
-0@@ -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 \tests/docker/dockerfiles/debian9.docker +1
-0@@ -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 \tests/docker/dockerfiles/debian9.docker RUN apt update && \ · line 32
Quoted 10 lines
tests/docker/dockerfiles/debian9.docker +2
-0ca-certificates \ clang \ flex \ + gdb-multiarch \ gettext \ git \ + libncurses5-dev \ pkg-config \ psmisc \ python3 \ping?
Signature · 1 line
Alex Bennée