Skip to content

Commit

Permalink
Merge "epicmtd: updater.sh: Revise check for larger system partition.…
Browse files Browse the repository at this point in the history
…" into cm-10.2
  • Loading branch information
bbelos authored and Gerrit Code Review committed Oct 3, 2013
2 parents 22e21ae + 1e2fe0e commit e5aba83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -x
export PATH=/:/sbin:/system/xbin:/system/bin:/tmp:$PATH

# check if we're running on a bml or mtd device, or if /system needs to be resized
if /tmp/busybox test -e /dev/block/bml7 || [ $(grep mtdblock2 /proc/partitions | awk '{ print $3 }') -lt 351744 ]; then
if /tmp/busybox test -e /dev/block/bml7 || [ $(grep mtdblock2 /proc/partitions | awk '{ print $3 }') -lt 413184 ]; then
# we're running on a bml device, or /system is the wrong size

# make sure sdcard is mounted
Expand Down

0 comments on commit e5aba83

Please sign in to comment.