mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-13 05:37:47 +02:00
avd_magisk: support rootfs without sbin
This commit is contained in:
@ -93,8 +93,8 @@ if mount | grep -q rootfs; then
|
|||||||
# Legacy rootfs
|
# Legacy rootfs
|
||||||
mount -o rw,remount /
|
mount -o rw,remount /
|
||||||
rm -rf /root
|
rm -rf /root
|
||||||
mkdir /root
|
mkdir /root /sbin 2>/dev/null
|
||||||
chmod 750 /root
|
chmod 750 /root /sbin
|
||||||
ln /sbin/* /root
|
ln /sbin/* /root
|
||||||
mount -o ro,remount /
|
mount -o ro,remount /
|
||||||
mount_sbin
|
mount_sbin
|
||||||
|
Reference in New Issue
Block a user