Skip to content

.github: Don't install QEMU on the Ubuntu systems - #4340

Open
chewi wants to merge 1 commit into
mainfrom
chewi/gha-no-qemu
Open

chewi wants to merge 1 commit into
mainfrom
chewi/gha-no-qemu

Conversation

@chewi

@chewi chewi commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

This is now failing due to Ubuntu changes, but we no longer rely on implicit QEMU usage anyway, so the SDK's copy will always be used.

Note that we don't have QEMU on our Jenkins workers either.

Tested with the kernel release job. main and alpha failed but for an unrelated reason. The rest worked, albeit there was no new kernel release.

This is now failing due to Ubuntu changes, but we no longer rely on
implicit QEMU usage anyway, so the SDK's copy will always be used.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
@chewi chewi self-assigned this Oct 27, 2026
@chewi
chewi requested a review from a team as a code owner October 27, 2026 12:14
Copilot AI balanced review requested due to automatic review settings October 27, 2026 12:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Removing qemu-user-static breaks the ARM64 image build on x86-64 runners without binfmt registration because the SELinux policy step executes ARM64 Bash through chroot, which the SDK’s QEMU binary alone cannot handle.

1 open issue
What changed in this PR

Removes Ubuntu’s qemu-user-static dependency from GitHub Actions setup to avoid installation failures, with the intent of relying on QEMU supplied by the Flatcar SDK.

Changes:

  • Removes host QEMU installation from CI and SDK-update workflows.
  • Makes the same change in the shared SDK setup script, leaving other dependencies unchanged.
File Description
.github/​workflows/​update-sdk.yaml Removes QEMU from SDK-update host dependencies.
.github/​workflows/​setup-flatcar-sdk.sh Removes QEMU from shared SDK host setup.
.github/​workflows/​ci.yaml Removes QEMU from CI runner dependencies.

Review effort: Balanced

Comment thread .github/workflows/ci.yaml
sudo ln -s /bin/bash /bin/sh
sudo apt-get update
sudo apt-get install -y ca-certificates curl git gnupg lsb-release python3 python3-packaging qemu-user-static zstd
sudo apt-get install -y ca-certificates curl git gnupg lsb-release python3 python3-packaging zstd

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm. It seems you're right, although I wonder how that's working on Jenkins. I'll find out.

This branch is waiting to be deployed

1 waiting deployment
development — ce599d2c Waiting Oct 27, 2026 by chewi via Wait for approval #6031
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants