This is an automated email from the ASF dual-hosted git repository.

aw pushed a commit to branch YETUS-1138
in repository https://gitbox.apache.org/repos/asf/yetus.git


The following commit(s) were added to refs/heads/YETUS-1138 by this push:
     new bf2019c  debug info
bf2019c is described below

commit bf2019c5cbd14c7f24312121ae0daeb9ffa41ac3
Author: Allen Wittenauer <[email protected]>
AuthorDate: Mon Nov 15 14:30:00 2021 -0800

    debug info
---
 hooks/build | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/hooks/build b/hooks/build
index e237e3a..da2e9bb 100755
--- a/hooks/build
+++ b/hooks/build
@@ -53,11 +53,13 @@ if [[ -z "${DOCKER_REPO}" ]]; then
 fi
 
 if [[ "$(uname -s)" == 'Linux' ]]; then
+  ls /usr/bin/qemu*
+  find / -name '*qemu*'
   if [[ ! -f /proc/sys/fs/binfmt_misc/qemu-aarch64 ]]; then
-    sudo apt-get update && sudo apt-get install -y qemu-user-static
-    sudo /etc/init.d/binfmt-support force-reload
+    apt-get update && apt-get install -y qemu-user-static
+    /etc/init.d/binfmt-support force-reload
   fi
-    cat /proc/sys/fs/binfmt_misc/qemu-aarch64
+  cat /proc/sys/fs/binfmt_misc/qemu-aarch64
 fi
 
 docker buildx create --name yetus-multiarch --driver docker-container --use || 
exit 1

Reply via email to