octeon: ubnt-usg: add board name to supported devices
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run

The on-device board name reported by 'ubus call system board' is not present
in the generated profiles.json.  This results in upgrade tools being unable
to match the image with the proper device.  Let's add a 'SUPPORTED_DEVICES'
entry for the board name to fix this.

Links: https://forum.openwrt.org/t/owut-openwrt-upgrade-tool/200035/441
Links: 2a07270180
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17736
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 7165937c3b6ebe5ac692fcde1cc69ba1c7a3d9c9)
This commit is contained in:
Eric Fahlgren 2025-01-26 09:25:13 -08:00 committed by Hauke Mehrtens
parent 150aa9aeee
commit e1ba6e407b

View File

@ -92,6 +92,7 @@ define Device/ubnt_unifi-usg
DEVICE_PACKAGES += kmod-gpio-button-hotplug kmod-leds-gpio DEVICE_PACKAGES += kmod-gpio-button-hotplug kmod-leds-gpio
DEVICE_DTS := cn5020_ubnt_usg DEVICE_DTS := cn5020_ubnt_usg
KERNEL += | append-dtb-to-elf KERNEL += | append-dtb-to-elf
SUPPORTED_DEVICES += ubnt,usg
endef endef
TARGET_DEVICES += ubnt_unifi-usg TARGET_DEVICES += ubnt_unifi-usg