proot icon indicating copy to clipboard operation
proot copied to clipboard

Proot freezing when ran in a Bash script

Open Kitsumi opened this issue 4 years ago • 2 comments

I'm using proot in a bash script to do some extra setup in an ARM environment. It seems to freeze at the end of the script though.

My host script calls proot with:

export PROOT_NO_SECCOMP=1
proot -S ${build_dir} -q qemu-aarch64-static /build-stage2.sh

My build-stage2.sh file is: https://gist.github.com/Kitsumi/e0b27b1730ae9f7cd816a65979aa62c5

I've tried using #!/usr/bin/bash and #!/bin/bash in build-stage2.sh as well.

I'm also using https://aur.archlinux.org/packages/qemu-user-static

Specifications

  • Proot/Care version: Proot 5.1.0
  • Kernel version: 5.6.8-1
  • Host distribution: Manjaro x86_64
  • Guest distribution: Arch Linux ARM

Kitsumi avatar May 04 '20 13:05 Kitsumi

@Kitsumi which command is it freezing on? Perhaps you could put something like this before each step:

echo "Performing ldconfig
ldconfig

oxr463 avatar Dec 29 '20 03:12 oxr463

@Kitsumi please test again on the latest v5.3.0 release

oxr463 avatar Jan 08 '22 00:01 oxr463