ar71xx: Fix sysupgrade when upgrading to images with small rootfs partition

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>

SVN-Revision: 38382
owl
Vasilis Tsiligiannis 2013-10-13 18:39:09 +00:00
parent a531d21590
commit aac26bfbca
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ platform_do_upgrade_combined() {
if [ -n "$partitions" ] && [ -n "$kernelpart" ] && \ if [ -n "$partitions" ] && [ -n "$kernelpart" ] && \
[ ${kern_blocks:-0} -gt 0 ] && \ [ ${kern_blocks:-0} -gt 0 ] && \
[ ${root_blocks:-0} -gt ${kern_blocks:-0} ] && \ [ ${root_blocks:-0} -gt 0 ] && \
[ ${erase_size:-0} -gt 0 ]; [ ${erase_size:-0} -gt 0 ];
then then
local append="" local append=""