Use our forked qemu-static-register scripts instead of a privileged container

This commit is contained in:
Jeff Grafton
2018-10-15 11:02:56 -07:00
parent bb9efbba25
commit 9e4fa1493d
4 changed files with 5 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ endif
ifneq ($(ARCH),amd64)
# Register /usr/bin/qemu-ARCH-static as the handler for non-x86 binaries in the kernel
docker run --rm --privileged multiarch/qemu-user-static:register --reset
sudo ../../third_party/multiarch/qemu-user-static/register/register.sh --reset
endif
docker build --pull -t $(IMAGE)-$(ARCH):$(TAG) $(TEMP_DIR)
rm -rf $(TEMP_DIR)