ipq806x: EA8500 fix sysupgrade over stock firmware
authorAdrian Panella <ianchi74@outlook.com>
Thu, 8 Dec 2016 08:41:58 +0000 (02:41 -0600)
committerJohn Crispin <john@phrozen.org>
Tue, 20 Dec 2016 08:35:37 +0000 (09:35 +0100)
commitd700c120bffe806aa23442cbbcce30e1c1886b79
tree9988e0c9052ba09879b68cd8ef1c28a148e6fc72
parent96a7ee3c80dec5cd86a25f6c72852928370e57b4
ipq806x: EA8500 fix sysupgrade over stock firmware

When running sysupgrade for the first time over the second partition
(that still had stock firmware) the rootfs wasn't flashed as there
wasn't enough space.
This happend because stock also uses UBI, but the volume name wasn't
recognised and wasn't deleted before flashing.

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
target/linux/ipq806x/base-files/lib/upgrade/linksys.sh