ipq806x: fix ZyXEL NBG6817 sysupgrade
authorMathias Kresin <dev@kresin.me>
Wed, 17 Jan 2018 19:40:55 +0000 (20:40 +0100)
committerMathias Kresin <dev@kresin.me>
Thu, 18 Jan 2018 06:22:37 +0000 (07:22 +0100)
commitb6868e2f4703efe18d91c0422fb090d8a119c8fd
tree5494c2ae23a90f33d5cf02604e8a1b54e51e53df
parentacafbac4b33a5273e6125cf2fcdf118f70cd23ec
ipq806x: fix ZyXEL NBG6817 sysupgrade

Use the first found directory in the tar archive instead of relying on
a directory named according to the userspace boardname.

It allows to change the boardname without adding another compatibility
layer to the zyxel sysupgrade.

Fixes: 33f09cf15178 ("ipq806x: convert to dt-based board-detection")
Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh