Allow avd_magisk on API 28

This commit is contained in:
topjohnwu 2023-11-01 09:15:17 -07:00
parent 489100c755
commit 3ba00858e6

View File

@ -91,7 +91,7 @@ elif [ -e /sbin ]; then
mount_sbin
mkdir -p /dev/sysroot
block=$(mount | grep ' / ' | awk '{ print $1 }')
[ $block = "/dev/root" ] && block=/dev/block/dm-0
[ $block = "/dev/root" ] && block=/dev/block/vda1
mount -o ro $block /dev/sysroot
for file in /dev/sysroot/sbin/*; do
[ ! -e $file ] && break