From: Jan Kiszka <
jan.k...@siemens.com>
For unknown reason, the automatic registration of qemu-user interpreters
no longer works in the github runner images - while does work fine in a
local noble VM. Also switching to qemu-user-binfmt and/or installing
binfmt-support does not change this. Therefore, perform the registration
manually for now.
Signed-off-by: Jan Kiszka <
jan.k...@siemens.com>
---
Still open for better proposal or at least better explanations.
.github/workflows/main.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 4f73b04..397ec44 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -115,6 +115,11 @@ jobs:
- name: Prepare build
run: |
+ for CONF in $(find /usr/lib/binfmt.d -name "qemu-*.conf" 2>/dev/null); do
+ if ! [ -f /proc/sys/fs/binfmt_misc/"$(basename "${CONF%%.conf}")" ]; then
+ sudo sh -c "cat '$CONF' > /proc/sys/fs/binfmt_misc/register"
+ fi
+ done
autoreconf -fi
mkdir -p build
--
2.47.3