diff options
Diffstat (limited to 'lib/libbpf/ci/rootfs/s390x-self-hosted-builder/qemu-user-static.service')
-rw-r--r-- | lib/libbpf/ci/rootfs/s390x-self-hosted-builder/qemu-user-static.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libbpf/ci/rootfs/s390x-self-hosted-builder/qemu-user-static.service b/lib/libbpf/ci/rootfs/s390x-self-hosted-builder/qemu-user-static.service new file mode 100644 index 0000000..301f3ed --- /dev/null +++ b/lib/libbpf/ci/rootfs/s390x-self-hosted-builder/qemu-user-static.service @@ -0,0 +1,11 @@ +[Unit] +Description=Support for transparent execution of non-native binaries with QEMU user emulation + +[Service] +Type=oneshot +# The source code for iiilinuxibmcom/qemu-user-static is at https://github.com/iii-i/qemu-user-static/tree/v6.1.0-1 +# TODO: replace it with multiarch/qemu-user-static once version >6.1 is available +ExecStart=/usr/bin/docker run --rm --interactive --privileged iiilinuxibmcom/qemu-user-static --reset -p yes + +[Install] +WantedBy=multi-user.target |