simetnicbr / simetbox-openwrt-feed

SIMETBox package feed for OpenWRT (comece aqui/start here!)
http://simet.nic.br/simetbox
GNU General Public License v2.0
74 stars 13 forks source link

sysupgrade: make it safe on lede-17.01 and 32MiB RAM #12

Closed hmh closed 6 years ago

hmh commented 6 years ago

Try moderately hard to free up memory during sysupgrade. And abort if the free memory is still too low to mtd write safely. This seems to be enough to avoid misflash episodes on lede-17.01 and 32MiB RAM devices like the TL-WRT842ND.

This helps with issue #4, and it might be all we can do about it.