From eec43c60e7aee64570c198a319f02c942a36e811 Mon Sep 17 00:00:00 2001 From: tsachiherman <24438559+tsachiherman@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:06:27 -0400 Subject: [PATCH] update qemu installation on linux by updating the package name --- .github/workflows/ci.yml | 2 +- .github/workflows/publish_docker_image.yml | 2 +- scripts/build_image.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a489b3c16c5..1bdce157e25f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -197,7 +197,7 @@ jobs: - name: Install qemu (required for cross-platform builds) run: | sudo apt update - sudo apt -y install qemu qemu-user-static + sudo apt -y install qemu-system qemu-user-static - name: Check image build shell: bash run: bash -x scripts/tests.build_image.sh diff --git a/.github/workflows/publish_docker_image.yml b/.github/workflows/publish_docker_image.yml index 38648de3d5df..8a38a9dbb647 100644 --- a/.github/workflows/publish_docker_image.yml +++ b/.github/workflows/publish_docker_image.yml @@ -17,7 +17,7 @@ jobs: - name: Install qemu (required for cross-platform builds) run: | sudo apt update - sudo apt -y install qemu qemu-user-static + sudo apt -y install qemu-system qemu-user-static sudo systemctl restart docker - name: Create multiplatform docker builder run: docker buildx create --use diff --git a/scripts/build_image.sh b/scripts/build_image.sh index 70c944193501..d7464015cd5d 100755 --- a/scripts/build_image.sh +++ b/scripts/build_image.sh @@ -15,7 +15,7 @@ set -euo pipefail # default in the verson of docker included with Ubuntu 22.04, and qemu can be # installed as follows: # -# sudo apt-get install qemu qemu-user-static +# sudo apt-get install qemu-system qemu-user-static # # After installing qemu, it will also be necessary to start a new builder that can # support multiplatform builds: