Skip to content

Commit

Permalink
workflow: use qemu-user-static with openat2 patches
Browse files Browse the repository at this point in the history
This commit adds the https://launchpad.net/~mvo/+archive/ubuntu/qemu/
PPA that contains a backport of the openat2 patches for qemu-9 so
that we can test cross-arch building again.
  • Loading branch information
mvo5 committed Nov 11, 2024
1 parent 6d3342b commit 7abd07d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Install test dependencies
run: |
sudo apt update
sudo apt install -y podman python3-pytest python3-paramiko python3-boto3 flake8 qemu-system-x86 qemu-efi-aarch64 qemu-system-arm qemu-user-static pylint libosinfo-bin
sudo apt install -y podman python3-pytest python3-paramiko python3-boto3 flake8 qemu-system-x86 qemu-efi-aarch64 qemu-system-arm pylint libosinfo-bin
- name: Diskspace (before)
run: |
df -h
Expand All @@ -94,6 +94,14 @@ jobs:
curl -fsSL $key_url | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg > /dev/null
sudo apt update
sudo apt install -y podman skopeo
- name: Updating qemu-user
run: |
# get qemu-9 with openat2 patches
# XXX: remove once ubuntu ships qemu-9.1
sudo apt install -y software-properties-common
sudo apt-add-repository -y ppa:mvo/qemu
sudo apt update
sudo apt install -y qemu-user qemu-user-binfmt
- name: Install python test deps
run: |
# make sure test deps are available for root
Expand Down

0 comments on commit 7abd07d

Please sign in to comment.