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

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

SVN-Revision: 38382
This commit is contained in:
Vasilis Tsiligiannis 2013-10-13 18:39:09 +00:00
parent a531d21590
commit aac26bfbca

View file

@ -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=""