diff options
author | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2013-10-13 18:39:09 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2013-10-13 18:39:09 +0000 |
commit | 56cdf42776b5185a48b3923debe57c9dd82c8012 (patch) | |
tree | 5d1863bc497f5e7bc3472aa7694d5adf08e2349e | |
parent | 5f4047589a345c4150a123b575b1abf0723540a5 (diff) | |
download | upstream-56cdf42776b5185a48b3923debe57c9dd82c8012.tar.gz upstream-56cdf42776b5185a48b3923debe57c9dd82c8012.tar.bz2 upstream-56cdf42776b5185a48b3923debe57c9dd82c8012.zip |
ar71xx: Fix sysupgrade when upgrading to images with small rootfs partition
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38382 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 356da2d43b..28e4a91ff1 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -49,7 +49,7 @@ platform_do_upgrade_combined() { if [ -n "$partitions" ] && [ -n "$kernelpart" ] && \ [ ${kern_blocks:-0} -gt 0 ] && \ - [ ${root_blocks:-0} -gt ${kern_blocks:-0} ] && \ + [ ${root_blocks:-0} -gt 0 ] && \ [ ${erase_size:-0} -gt 0 ]; then local append="" |