Daniel Dickinson wrote: > Hi, > > I wanted to ping someone to apply this very small patch which fixes > sysupgrade so that backup and restore of data across a flashing of the > firmware (i.e. automatic saving of specified configuration before > flashing, and then restoring automatically on firstboot), works. > > The bug was that the full DEADC0DE marker wasn't being checked for in > the code that was supposed to write the file containing the > configuration backup to the new JFFS portion of the firmware during the > flash process. > > The attached patch replaces the erroneous size(JFFS_EOF) -1) with > sizeof(JFFS_EOF). > > It is tested and works. Applied in r17522, r17523, thanks.
- Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel