You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu 26.04's qemu-user-binfmt drops the -static suffix on the actual
binary names: /usr/bin/qemu-aarch64 instead of /usr/bin/qemu-aarch64
-static. The chroot-deploy code in qemu-static.sh hardcoded the
historical name and would fail on resolute hosts even with the apt
package now resolved.
deploy_qemu_binary_to_chroot:
- Resolve the host source path: try /usr/bin/${QEMU_BINARY} (the
-static name) first, fall back to the bare name.
- Copy to both /usr/bin/qemu-<arch>-static and /usr/bin/qemu-<arch>
inside the chroot, so whichever path the host's binfmt
registration points at resolves at chroot time. The qemu-user
-static package on older releases registers the -static name; the
qemu-user-binfmt package on resolute registers the bare name.
undeploy_qemu_binary_from_chroot:
- Remove and restore both names symmetrically.
Reported by @pyavitz on the previous commit's PR.
0 commit comments