mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
tests/docker: use --arch-only for installing deps
The Debian QEMU packages require a bunch of cross compilers for building firmware which aren't available on all host architectures. Using --arch-only skips this particular requirement and allows us to install just the dependencies we need. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
parent
ec22b72699
commit
d2467284e8
8 changed files with 10 additions and 10 deletions
|
@ -11,7 +11,7 @@ RUN dpkg --add-architecture armel && \
|
|||
apt update && \
|
||||
apt install -yy crossbuild-essential-armel && \
|
||||
DEBIAN_FRONTEND=noninteractive eatmydata \
|
||||
apt build-dep -yy -a armel qemu
|
||||
apt build-dep -yy -a armel --arch-only qemu
|
||||
|
||||
# Specify the cross prefix for this image (see tests/docker/common.rc)
|
||||
ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabi-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue