ar71xx: fix platform_find_rootfspart()
authorThibaut VARENE <hacks@slashdirt.org>
Sat, 11 Feb 2017 10:10:37 +0000 (11:10 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 1 Mar 2017 19:37:36 +0000 (20:37 +0100)
commitcff47cacd15a50f981689038fc154faf3d383abf
tree22d297209f335ad4f856acdb4ac2bf9c8e2afeed
parente1e9d27655bd0fd93dd09f3de907a03c96c59f55
ar71xx: fix platform_find_rootfspart()

platform_find_rootfspart() fails if the kernel partition comes before the
rootfs partition. The proposed patch fixes this while preserving what I
understand was the original idea: stop at first match.

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
target/linux/ar71xx/base-files/lib/upgrade/platform.sh