All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/docker: Install tools to cross-debug and build Linux kernels
@ 2020-02-12 20:27 Philippe Mathieu-Daudé
  2020-02-24 12:20 ` Philippe Mathieu-Daudé
  2020-03-06  8:35 ` Stefano Garzarella
  0 siblings, 2 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-02-12 20:27 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Alex Bennée, Philippe Mathieu-Daudé,
	Philippe Mathieu-Daudé

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

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é <f4bug@amsat.org>
---
 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 \
-- 
2.21.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] tests/docker: Install tools to cross-debug and build Linux kernels
  2020-02-12 20:27 [PATCH] tests/docker: Install tools to cross-debug and build Linux kernels Philippe Mathieu-Daudé
@ 2020-02-24 12:20 ` Philippe Mathieu-Daudé
  2020-03-05 10:30   ` Philippe Mathieu-Daudé
  2020-03-06  8:35 ` Stefano Garzarella
  1 sibling, 1 reply; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-02-24 12:20 UTC (permalink / raw)
  To: qemu-devel; +Cc: Fam Zheng, Alex Bennée, Philippe Mathieu-Daudé

On 2/12/20 9:27 PM, Philippe Mathieu-Daudé wrote:
> From: Philippe Mathieu-Daudé <f4bug@amsat.org>
> 
> 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é <f4bug@amsat.org>
> ---
>   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?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] tests/docker: Install tools to cross-debug and build Linux kernels
  2020-02-24 12:20 ` Philippe Mathieu-Daudé
@ 2020-03-05 10:30   ` Philippe Mathieu-Daudé
  2020-03-06 11:51     ` Alex Bennée
  0 siblings, 1 reply; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-03-05 10:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: Fam Zheng, Alex Bennée, Philippe Mathieu-Daudé

ping ping?

On 2/24/20 1:20 PM, Philippe Mathieu-Daudé wrote:
> On 2/12/20 9:27 PM, Philippe Mathieu-Daudé wrote:
>> From: Philippe Mathieu-Daudé <f4bug@amsat.org>
>>
>> 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é <f4bug@amsat.org>
>> ---
>>   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?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] tests/docker: Install tools to cross-debug and build Linux kernels
  2020-02-12 20:27 [PATCH] tests/docker: Install tools to cross-debug and build Linux kernels Philippe Mathieu-Daudé
  2020-02-24 12:20 ` Philippe Mathieu-Daudé
@ 2020-03-06  8:35 ` Stefano Garzarella
  1 sibling, 0 replies; 5+ messages in thread
From: Stefano Garzarella @ 2020-03-06  8:35 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: Fam Zheng, Alex Bennée, qemu-devel, Philippe Mathieu-Daudé

On Wed, Feb 12, 2020 at 09:27:38PM +0100, Philippe Mathieu-Daudé wrote:
> From: Philippe Mathieu-Daudé <f4bug@amsat.org>
> 
> 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é <f4bug@amsat.org>
> ---
>  tests/docker/dockerfiles/debian10.docker | 3 +++
>  tests/docker/dockerfiles/debian9.docker  | 3 +++
>  2 files changed, 6 insertions(+)

Make sense to add these packages:

Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>

Thanks,
Stefano

> 
> 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 \
> -- 
> 2.21.1
> 
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] tests/docker: Install tools to cross-debug and build Linux kernels
  2020-03-05 10:30   ` Philippe Mathieu-Daudé
@ 2020-03-06 11:51     ` Alex Bennée
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Bennée @ 2020-03-06 11:51 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: Fam Zheng, qemu-devel, Philippe Mathieu-Daudé


Philippe Mathieu-Daudé <philmd@redhat.com> writes:

> ping ping?

Queued to testing/next, thanks. Sorry for the delay.

>
> On 2/24/20 1:20 PM, Philippe Mathieu-Daudé wrote:
>> On 2/12/20 9:27 PM, Philippe Mathieu-Daudé wrote:
>>> From: Philippe Mathieu-Daudé <f4bug@amsat.org>
>>>
>>> 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é <f4bug@amsat.org>
>>> ---
>>>   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?


-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-06 11:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 20:27 [PATCH] tests/docker: Install tools to cross-debug and build Linux kernels Philippe Mathieu-Daudé
2020-02-24 12:20 ` Philippe Mathieu-Daudé
2020-03-05 10:30   ` Philippe Mathieu-Daudé
2020-03-06 11:51     ` Alex Bennée
2020-03-06  8:35 ` Stefano Garzarella

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.