bootable/newinstaller
Révision | d68f8f8986dbd571185bae98a81f4038a179e384 (tree) |
---|---|
l'heure | 2020-03-13 12:42:08 |
Auteur | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
@@ -113,10 +113,10 @@ check_root() | ||
113 | 113 | elif [ -e /mnt/$SRC/system.img ]; then |
114 | 114 | remount_rw |
115 | 115 | mount -o loop,noatime /mnt/$SRC/system.img system |
116 | - elif [ -d /mnt/$SRC/system ]; then | |
116 | + elif [ -s /mnt/$SRC/system/build.prop ]; then | |
117 | 117 | remount_rw |
118 | 118 | mount --bind /mnt/$SRC/system system |
119 | - elif [ -z "$SRC" -a -e /mnt/build.prop ]; then | |
119 | + elif [ -z "$SRC" -a -s /mnt/build.prop ]; then | |
120 | 120 | mount --bind /mnt system |
121 | 121 | else |
122 | 122 | rm -rf * |