ipq40xx: fix openmesh sysupgrade with tar content out of order
authorMarek Lindner <mareklindner@neomailbox.ch>
Sun, 2 Dec 2018 14:02:04 +0000 (22:02 +0800)
committerMathias Kresin <dev@kresin.me>
Wed, 5 Dec 2018 08:40:32 +0000 (09:40 +0100)
commit8ad45992acab9a2dead144d5b387fbe132ce59c1
tree6dd7dab99e868eadb2d1185e9ae06b26a5d39ba2
parent2b4ac79a791d9451f601d494dde2e71864174358
ipq40xx: fix openmesh sysupgrade with tar content out of order

The tar extraction depends on the order in which the files
are added to the tar file. Since the order is not guaranteed
and depends on the host system, the combined mtd write fails
with sysupgrade images built on some systems.
Fix by changing to tar file order independent mtd write.

Fixes: 86e18f6706e1 ("ipq806x: add support for OpenMesh A42")
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh