mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 02:52:56 +01:00
Try to compile ARM64 by pushing newest qemu user
This commit is contained in:
parent
47097cdd06
commit
3121cbeb2e
3 changed files with 11 additions and 0 deletions
9
scripts/register-binfmt
Executable file
9
scripts/register-binfmt
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
ls -al /proc/sys/fs/binfmt_misc
|
||||
|
||||
echo -1 > /proc/sys/fs/binfmt_misc/qemu-aarch64 || true
|
||||
|
||||
apk add -U qemu-aarch64
|
||||
|
||||
echo ":qemu-aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-aarch64:OCF" > /proc/sys/fs/binfmt_misc/register
|
||||
Loading…
Add table
Add a link
Reference in a new issue