aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2019-02-17 13:05:12 -0500
committerGitHub <noreply@github.com>2019-02-17 13:05:12 -0500
commit9a38e4dc8abdd25f0f3674a398748f7a7e4b092a (patch)
tree872afa2535e8318c0af9d4eca7e457d7d5b0e078 /hooks
parent25c2267a89af5c2e82774c638cdad0defcc894b5 (diff)
parenta35ea49c996d42c2fa26f0536b1beaab15bd3b08 (diff)
Merge pull request #925 from Bond-009/newmaser
Merge 10.2.0 release branch back into master
Diffstat (limited to 'hooks')
-rw-r--r--hooks/pre_build6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/pre_build b/hooks/pre_build
new file mode 100644
index 000000000..2fd6136c5
--- /dev/null
+++ b/hooks/pre_build
@@ -0,0 +1,6 @@
+#!/bin/bash
+git submodule update --init --recursive
+
+# 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