mirror of https://github.com/hak5/openwrt-owl.git
ar71xx: Fix sysupgrade when upgrading to images with small rootfs partition
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> SVN-Revision: 38382owl
parent
a531d21590
commit
aac26bfbca
|
@ -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…
Reference in New Issue