realtek: generate compat_version 2.0 for GS1900
authorSander Vanheule <sander@svanheule.net>
Tue, 24 Dec 2024 08:56:11 +0000 (09:56 +0100)
committerSander Vanheule <sander@svanheule.net>
Tue, 24 Dec 2024 10:18:27 +0000 (11:18 +0100)
commitec49df8692dfdb150c3a6808cf486ce328678d30
treeac121342923dc43e576ce02e379650d459878279
parentd036b42dd96bc7630a9c8db2dc82704b36b020de
realtek: generate compat_version 2.0 for GS1900

The GS1900 images have been updated to have a larger firmware partition,
bumping the compatibility version to 2.0. However, since this version is
generated on first boot and the default was used, these images still
advertised 1.0 after a fresh install.

Add a new uci-defaults script that will generate the correct version for
all affected Zyxel GS1900 devices.

Fixes: 35acdbe9095d ("realtek: merge Zyxel GS1900 firmware partitions")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
(cherry picked from commit a25809a474defedbd8f05d628d2c8525d79d549d)
target/linux/realtek/base-files/etc/board.d/05_compat-version [new file with mode: 0644]