On 2016-08-22 14:06, Daniel Danzberger wrote: > This patch avoids sysupgrade to fail and break the boot image. > This patch dosen't affact the Edgerouter Lite. > > The boot partition on the internal mmc flash is only 8.3M large. > Device Boot Start End Sectors Size Id Type > /dev/mmcblk0p1 * 63 17135 17073 8.3M 83 Linux > > Creating a backup of vmlinux64.bin might use to much space, > when using a kernel image > 4.2 MBytes. > This results in a "no space left on device" error when sysupgrade > flashes the new kernel image, leaving an incomplete kernel image in the boot > partition. > This prevents further booting. > > Signed-off-by: Daniel Danzberger <dan...@dd-wrt.com> Maybe it would be better to remove the backup code entirely instead of playing whack-a-mole ;)
- Felix _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev