mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 04:58:22 +00:00
Allow avd_magisk on API 28
This commit is contained in:
parent
489100c755
commit
3ba00858e6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user