mvebu: sysupgrade: sdcard: fix platform_do_upgrade_sdcard
authorKlaus Kudielka <klaus.kudielka@gmail.com>
Sun, 28 Jul 2019 13:54:21 +0000 (15:54 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 16 Aug 2019 20:53:06 +0000 (22:53 +0200)
commit4b5df88f1cd3cf8bbe51558fff943af9dcce00ff
tree3f8c08e79f47b51ee51f46469e68017da7a180e9
parent812bad9b13ecefadfd238696e4f5cec7a9dc763d
mvebu: sysupgrade: sdcard: fix platform_do_upgrade_sdcard

Unconditionally execute the final case statement, even if the disk layout
changed. This is necessary, to keep the original Turris Omnia flash
instructions working: The disk layout WILL change, when switching from
TurrisOS to OpenWRT. Without updating the uboot environment at the same
time, the user would end up with an unbootable system.

Fixes commit 2e5a0b81ec ("mvebu: sysupgrade: sdcard: keep user added ...")

Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com>
target/linux/mvebu/base-files/lib/upgrade/sdcard.sh