From aac26bfbca96f8405dac0d2450e51d76535e6727 Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Sun, 13 Oct 2013 18:39:09 +0000 Subject: ar71xx: Fix sysupgrade when upgrading to images with small rootfs partition Signed-off-by: Vasilis Tsiligiannis SVN-Revision: 38382 --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux') diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 356da2d..28e4a91 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="" -- cgit v1.1