diff options
author | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2013-10-13 18:39:09 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2013-10-13 18:39:09 +0000 |
commit | aac26bfbca96f8405dac0d2450e51d76535e6727 (patch) | |
tree | 195639a676b2aa5cc4bae18e7bc41cf094e43430 /target/linux/ar71xx/base-files/lib/upgrade/platform.sh | |
parent | a531d21590a7b6276f1ade8bea4fda45883aa405 (diff) | |
download | master-31e0f0ae-aac26bfbca96f8405dac0d2450e51d76535e6727.tar.gz master-31e0f0ae-aac26bfbca96f8405dac0d2450e51d76535e6727.tar.bz2 master-31e0f0ae-aac26bfbca96f8405dac0d2450e51d76535e6727.zip |
ar71xx: Fix sysupgrade when upgrading to images with small rootfs partition
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 38382
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/upgrade/platform.sh')
-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="" |