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

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

SVN-Revision: 38382
master
Vasilis Tsiligiannis 11 years ago
parent a531d21590
commit aac26bfbca
  1. 2
      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=""

Loading…
Cancel
Save