From 1f2b31b9886cb26bd0859c5f6db7d01d481672b6 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 27 Jun 2022 12:08:21 +0000 Subject: [PATCH] Create pre_build --- hooks/pre_build | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 hooks/pre_build diff --git a/hooks/pre_build b/hooks/pre_build new file mode 100644 index 0000000..0a94f7e --- /dev/null +++ b/hooks/pre_build @@ -0,0 +1,5 @@ +#!/bin/bash + +# Register qemu-*-static for all supported processors except the +# current one, but also remove all registered binfmt_misc before +docker run --rm --privileged multiarch/qemu-user-static:register --reset