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 22:17:46 +0000 (00:17 +0200)
commite79f192c0ab50e3a889cdea7b32dbaa394a529ab
tree4b10973c453aa3c58ccd9b746cd8cd9cfde3a2a8
parent342bcb739fecdeca09105e0940815db62daacac8
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