summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fahlgren2025-01-26 17:25:13 +0000
committerHauke Mehrtens2025-01-27 01:09:46 +0000
commit7165937c3b6ebe5ac692fcde1cc69ba1c7a3d9c9 (patch)
tree43bbc39a49fc8e6e70597284dea112947b0db770
parent3295f6f1c254cd7e5e5285a05581bf6abbde8999 (diff)
downloadopenwrt-7165937c3b6ebe5ac692fcde1cc69ba1c7a3d9c9.tar.gz
octeon: ubnt-usg: add board name to supported devices
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: https://github.com/openwrt/openwrt/commit/2a07270180ed0e295d854d6e9e59c78c40549efc 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>
-rw-r--r--target/linux/octeon/image/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/octeon/image/Makefile b/target/linux/octeon/image/Makefile
index f00e87c520..dec0480915 100644
--- a/target/linux/octeon/image/Makefile
+++ b/target/linux/octeon/image/Makefile
@@ -92,6 +92,7 @@ define Device/ubnt_unifi-usg
DEVICE_PACKAGES += kmod-gpio-button-hotplug kmod-leds-gpio
DEVICE_DTS := cn5020_ubnt_usg
KERNEL += | append-dtb-to-elf
+ SUPPORTED_DEVICES += ubnt,usg
endef
TARGET_DEVICES += ubnt_unifi-usg