Skip to content

Commit b226081

Browse files
committed
Containers/Ubuntu-22: Add disutils for QEMU build
Install distutils to resolve the following issue building QEMU: ``` 39.05 python determined to be '/usr/bin/python3' 39.05 python version: Python 3.12.11 39.16 mkvenv: Creating non-isolated virtual environment at 'pyvenv' 39.42 39.42 *** Ouch! *** 39.42 39.42 found no usable distlib, please install it ``` This also brings in recent file sync changes to the Ubuntu-22 dockerfile. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
1 parent aa8b103 commit b226081

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.sync/containers/Ubuntu-22/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ RUN apt-get update && apt-get install --yes --no-install-recommends \
214214
ninja-build \
215215
tar \
216216
&& \
217+
pip3 install distlib && \
217218
git clone "${QEMU_URL}" --branch "${QEMU_BRANCH}" --depth 1 qemu && \
218219
cd qemu && \
219220
./configure --target-list=x86_64-softmmu,aarch64-softmmu --enable-gtk && \

Containers/Ubuntu-22/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,17 @@ RUN apt-get update && \
4343
apt-get install --yes --no-install-recommends \
4444
bison \
4545
ca-certificates \
46+
clang \
4647
curl \
48+
device-tree-compiler \
4749
flex \
4850
git \
4951
gnupg \
5052
gnupg2 \
5153
lcov \
54+
libssl-dev \
55+
lld \
56+
llvm \
5257
jq \
5358
m4 \
5459
make \
@@ -205,6 +210,7 @@ RUN apt-get update && apt-get install --yes --no-install-recommends \
205210
ninja-build \
206211
tar \
207212
&& \
213+
pip3 install distlib && \
208214
git clone "${QEMU_URL}" --branch "${QEMU_BRANCH}" --depth 1 qemu && \
209215
cd qemu && \
210216
./configure --target-list=x86_64-softmmu,aarch64-softmmu --enable-gtk && \
@@ -226,4 +232,3 @@ RUN apt-get update && \
226232
less \
227233
&& \
228234
apt-get clean
229-

0 commit comments

Comments
 (0)