minor mount code fix

merge-requests/23/head
Christopher Roy Bratusek 6 years ago
parent ccb8ca0483
commit a1176bdf45

@ -83,7 +83,7 @@ mount_partitions () {
[ -f /system/build.prop ] || is_mounted /system || error "failed to mount /system (unsupported A/B device?)"
if [ -f /system/init ]; then
if [ -f /system/init.rc ]; then
mkdir /system_root 2>/dev/null
mount --move /system /system_root
mount -o bind /system_root/system /system

@ -178,7 +178,7 @@ mount_partitions () {
[ -f /system/build.prop ] || is_mounted /system || error "failed to mount /system (unsupported A/B device?)"
if [ -f /system/init ]; then
if [ -f /system/init.rc ]; then
mkdir /system_root 2>/dev/null
mount --move /system /system_root
mount -o bind /system_root/system /system

Loading…
Cancel
Save