mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-09 21:18:29 +00:00
avd_magisk: support rootfs without sbin
This commit is contained in:
parent
5f2ca81e86
commit
dddd41c95b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user