layerscape: add dtb to sysupgrade
[openwrt/openwrt.git] / target / linux / layerscape / base-files / etc / uci-defaults / 05_fix-compat-version
1 #
2 # Copyright (C) 2020 OpenWrt.org
3 #
4
5 . /lib/functions.sh
6
7 case "$(board_name)" in
8 fsl,ls1012a-rdb | \
9 fsl,ls1021a-twr | \
10 fsl,ls1043a-rdb | \
11 fsl,ls1046a-rdb | \
12 fsl,ls1088a-rdb | \
13 fsl,ls2088a-rdb)
14 uci set system.@system[0].compat_version="2.0"
15 uci commit system
16 ;;
17 esac
18
19 exit 0