From 7ad7692d6146b322c349d80ce3a9111b634881b2 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 26 Jan 2023 16:38:17 -0500 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