openwrtv3/target/linux/ar71xx/base-files/lib/upgrade
Felix Fietkau ff17114ba1 ar71xx: Unifi AP Pro sysupgrade patch
The current implementation of mtd will not append the backup
file created by sysupgrade to the correct partition, as mtd will append
the data to first jffs2 partition it finds. As the kernel is also
stored on a jffs2 partition (which resides before the overlay
partition), the data will be appended to this partition.

To fix this problem, a new option

-s <number>             skip the first n bytes when appending data to the jffs2 partiton, defaults to "0"

is added to mtd.

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 38807
2013-11-14 19:38:54 +00:00
..
allnet.sh ar71xx: Fix sysupgrades for Allnet and OpenMesh devices 2013-10-20 15:59:05 +00:00
dir825.sh ar71xx: use mtd_get_part_size helper 2013-07-20 09:26:57 +00:00
openmesh.sh ar71xx: Fix sysupgrades for Allnet and OpenMesh devices 2013-10-20 15:59:05 +00:00
platform.sh ar71xx: Unifi AP Pro sysupgrade patch 2013-11-14 19:38:54 +00:00