소스 검색

Fix mounting on SAR/AB devices

Paul Keith 6 년 전
부모
커밋
dc45a21104
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      build/meta/com/google/android/update-binary

+ 1 - 1
build/meta/com/google/android/update-binary

@@ -48,7 +48,7 @@ if [ "$SYSTEMASROOT" == "true" ]; then
     TARGETSYSTEM=/dev/block/bootdevice/by-name/system
   fi
   mkdir -p /system_root
-  if mount -o rw $TARGETSYSTEM /system_root && mount /system_root/system /system; then
+  if mount -o rw $TARGETSYSTEM /system_root && mount -o bind /system_root/system /system; then
     ui_print "/system mounted"
   else
     ui_print "Could not mount /system! Aborting"