diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-18 18:01:22 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-06 17:12:17 +0100 |
commit | 951f71ad67bd474aba6925529daf45b747aac86e (patch) | |
tree | 1752a5c18e894c6db5f04f971df983b38e7f0e35 /scripts/ci/setup | |
parent | 5b1b5a8ae40d3fcbc3f9ede3fe9227064f9a480f (diff) | |
download | qemu-951f71ad67bd474aba6925529daf45b747aac86e.zip qemu-951f71ad67bd474aba6925529daf45b747aac86e.tar.gz qemu-951f71ad67bd474aba6925529daf45b747aac86e.tar.bz2 |
dockerfiles: install bindgen from cargo on Ubuntu 22.04
Because Ubuntu 22.04 has a very old version of bindgen, that
does not have the important option --allowlist-file, it will
not be able to use --enable-rust out of the box. Instead,
install the latest version of bindgen-cli via "cargo install"
in the container, following QEMU's own documentation.
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/ci/setup')
-rw-r--r-- | scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml | 1 | ||||
-rw-r--r-- | scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml b/scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml index f464794..288156d 100644 --- a/scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml +++ b/scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml @@ -7,7 +7,6 @@ packages: - bash - bc - - bindgen - bison - bsdextrautils - bzip2 diff --git a/scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml b/scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml index fe2995c..d497139 100644 --- a/scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml +++ b/scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml @@ -7,7 +7,6 @@ packages: - bash - bc - - bindgen - bison - bsdextrautils - bzip2 |