OSDN Git Service
(root)
/
android-x86
/
bootable-newinstaller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
init: avoid finding system partition too aggressive
[android-x86/bootable-newinstaller.git]
/
initrd
/
init
diff --git
a/initrd/init
b/initrd/init
index
8da4565
..
df1949f
100755
(executable)
--- a/
initrd/init
+++ b/
initrd/init
@@
-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 *