OSDN Git Service

init: avoid finding system partition too aggressive
[android-x86/bootable-newinstaller.git] / initrd / init
index 8da4565..df1949f 100755 (executable)
@@ -114,7 +114,7 @@ check_root()
        elif [ -d /mnt/$SRC/system ]; then
                remount_rw
                mount --bind /mnt/$SRC/system system
-       elif [ -e /mnt/build.prop ]; then
+       elif [ -z "$SRC" -a -e /mnt/build.prop ]; then
                mount --bind /mnt system
        else
                rm -rf *