buildscripts: Fix prepare_qemu to not assume system already has emulation

Apparently our Kokoro image has this done already, and my laptop as
well. But the newer Kokoro image and other computers like my desktop
don't have it already.
This commit is contained in:
Eric Anderson 2023-06-23 09:10:44 -07:00
parent 1c9ce5d76b
commit 0e6c01837c
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
set -ex
# show pre-existing qemu registration
cat /proc/sys/fs/binfmt_misc/qemu-aarch64
cat /proc/sys/fs/binfmt_misc/qemu-aarch64 || true
# Kokoro ubuntu1604 workers have already qemu-user and qemu-user-static packages installed, but it's and old version that:
# * prints warning about some syscalls (e.g "qemu: Unsupported syscall: 278")