proot
proot copied to clipboard
Proot freezing when ran in a Bash script
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 which command is it freezing on? Perhaps you could put something like this before each step:
echo "Performing ldconfig
ldconfig
@Kitsumi please test again on the latest v5.3.0 release