summaryrefslogtreecommitdiff
path: root/docker/arm64/hooks/pre_build
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-09-19 10:31:59 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-20 07:58:59 +0200
commitae5e390d84c19faa3886dc4370213fd52a5ee867 (patch)
tree9af07f88ef429791d53eee1f1406d1f141435491 /docker/arm64/hooks/pre_build
parentcc3f12cd93aa705433ce92a468ffc70c17860142 (diff)
downloadvyos-build-ae5e390d84c19faa3886dc4370213fd52a5ee867.tar.gz
vyos-build-ae5e390d84c19faa3886dc4370213fd52a5ee867.zip
add hooks for autobuild
(cherry picked from commit 1bbbdef6778f85b8e91882239ee070b55f48e5b6)
Diffstat (limited to 'docker/arm64/hooks/pre_build')
-rw-r--r--docker/arm64/hooks/pre_build4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/arm64/hooks/pre_build b/docker/arm64/hooks/pre_build
new file mode 100644
index 00000000..a08c740b
--- /dev/null
+++ b/docker/arm64/hooks/pre_build
@@ -0,0 +1,4 @@
+#!/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