mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-08 20:14:30 +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
|
||||
mount -o rw,remount /
|
||||
rm -rf /root
|
||||
mkdir /root
|
||||
chmod 750 /root
|
||||
mkdir /root /sbin 2>/dev/null
|
||||
chmod 750 /root /sbin
|
||||
ln /sbin/* /root
|
||||
mount -o ro,remount /
|
||||
mount_sbin
|
||||
|
Loading…
x
Reference in New Issue
Block a user