aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-02-20 14:46:07 +0300
committerGitHub <noreply@github.com>2019-02-20 14:46:07 +0300
commitbca7a26ffd84b14a9186082656fb66f891ccd27f (patch)
treeb927f6d7be92d805e610514f45762f5900c61b6d /hooks
parent1f30a50f4a361be303c9221d9d3e5c4d8db2b364 (diff)
parent60df855b263e691f946973a192621e7998db9cbb (diff)
Merge branch 'master' into update_tvdb
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