ar71xx: fix platform_find_rootfspart()
authorThibaut VARENE <hacks@slashdirt.org>
Sat, 11 Feb 2017 10:10:37 +0000 (11:10 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 12 Feb 2017 14:57:37 +0000 (15:57 +0100)
commit33154eaf41e8045def037ca037d8a29a2b3e8284
tree2339cc636b2211ad10adb0e9e75d20444c467799
parentf938de791438fc932c5a5ccfecd8f33050e3e103
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