Skip to content

Commit

Permalink
downgrade proot
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Dec 16, 2024
1 parent a935260 commit af2b5c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified proot
Binary file not shown.
4 changes: 2 additions & 2 deletions proot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ alpineproot() {
[ ! -d $CONTAINER_PATH ] && mkdir -p $CONTAINER_PATH

# Use proot to prevent hard link extraction error
$PROOT --link2symlink tar -xzf $HOME/.cached_rootfs.tar.gz -C $CONTAINER_PATH
$PROOT tar -xzf $HOME/.cached_rootfs.tar.gz -C $CONTAINER_PATH

# If extraction fail, Delete cached rootfs and try again
[ "$?" != "0" ] && rm -f $HOME/.cached_rootfs.tar.gz && alpineproot $@ && exit 0
Expand Down Expand Up @@ -292,7 +292,7 @@ __start() {

COMMANDS=$PROOT
# COMMANDS+=" --link2symlink"
COMMANDS+=" --kill-on-exit"
# COMMANDS+=" --kill-on-exit"
COMMANDS+=" --kernel-release=\"${ALPINEPROOT_KERNEL_RELEASE:-5.18}\""
COMMANDS+=" -b /dev -b /proc -b /sys"
COMMANDS+=" -b /proc/self/fd:/dev/fd"
Expand Down

0 comments on commit af2b5c9

Please sign in to comment.