The device booting successfully indicates that bootloader has been
updated. Set compat_version to 1.1 on new configs and bump
compat_version to 1.1 on first boot after a successful sysupgrade.
Fixes: 6368ed1ae5
("mediatek: mt7623: phase out uImage.FIT partition parser")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
10 lines
146 B
Text
10 lines
146 B
Text
. /lib/functions.sh
|
|
|
|
case "$(board_name)" in
|
|
bananapi,bpi-r2)
|
|
uci set system.@system[0].compat_version="1.1"
|
|
uci commit system
|
|
;;
|
|
esac
|
|
|
|
exit 0
|