Skip to content

Commit bee2dd3

Browse files
authored
T8068: qemu-system-aarch64 is not included to the Dockerfile for arm64 arch
Add QEMU packages for ARM64 platform.
1 parent 88897ba commit bee2dd3

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

docker/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ RUN GO_VERSION_INSTALL="1.23.2" ; \
266266
RUN echo "export PATH=/opt/go/bin:$PATH" >> /etc/bash.bashrc
267267

268268
# Packages needed for Qemu test-suite
269-
# This is for now only supported on i386 and amd64 platforms
269+
# Packages for i386 and amd64 platforms
270270
RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \
271271
apt-get update && apt-get install -y \
272272
python3-pexpect \
@@ -276,6 +276,14 @@ RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \
276276
qemu-kvm; \
277277
fi
278278

279+
# Packages for arm64 platform
280+
RUN if dpkg-architecture -iarm64; then \
281+
apt-get update && apt-get install -y \
282+
ipxe-qemu \
283+
qemu-system-aarch64 \
284+
qemu-efi-aarch64; \
285+
fi
286+
279287
# Packages needed for building vmware and GCE images
280288
# This is only supported on i386 and amd64 platforms
281289
RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \

0 commit comments

Comments
 (0)