mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 02:25:28 +00:00
Fix avd-magisk
This commit is contained in:
parent
a721206c6f
commit
e5641d5bdb
@ -20,7 +20,7 @@
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
mount_sbin() {
|
mount_sbin() {
|
||||||
mount -t tmpfs -o 'mode=0755' tmpfs /sbin
|
mount -t tmpfs -o 'mode=0755' magisk /sbin
|
||||||
chcon u:object_r:rootfs:s0 /sbin
|
chcon u:object_r:rootfs:s0 /sbin
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ else
|
|||||||
# Android Q+ without sbin
|
# Android Q+ without sbin
|
||||||
MAGISKTMP=/dev/avd-magisk
|
MAGISKTMP=/dev/avd-magisk
|
||||||
mkdir /dev/avd-magisk
|
mkdir /dev/avd-magisk
|
||||||
mount -t tmpfs -o 'mode=0755' tmpfs /dev/avd-magisk
|
mount -t tmpfs -o 'mode=0755' magisk /dev/avd-magisk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Magisk stuff
|
# Magisk stuff
|
||||||
|
Loading…
Reference in New Issue
Block a user