Skip to content

Commit 18af329

Browse files
committed
remove .zcom* files when install
This causes file manager to crash when loading /root directory
1 parent 5874a7d commit 18af329

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

udroid/src/proot-utils/proot-fixes.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,10 @@ done < <(paste <(id -Gn | tr ' ' '\n') <(id -G | tr ' ' '\n'))
323323
PROG_PRINT "fix sudo permissions"
324324
chmod u+s ${root_fs_path}/usr/bin/sudo
325325

326+
# remove .zcom* files inside /root which created during built
327+
PROG_PRINT "remove excess files"
328+
rm -rf ${root_fs_path}/root/.zcom*
329+
326330
# PROG_PRINT "setting up android shmem"
327331
# shmem_lib="${PREFIX}/lib/libandroid-shmem.a"
328332
# if [ -f "${shmem_lib}" ]; then

0 commit comments

Comments
 (0)