From c9ee13007d32d8f516f30c267485f30abb3194e3 Mon Sep 17 00:00:00 2001
From: Sidney Kuyateh <sidneyjohn23@kuyateh.eu>
Date: Fri, 6 Dec 2024 06:14:12 +0100
Subject: [PATCH] Update openwrt to 24.10-rc2, re-add Ubiquiti EdgeRouter X

---
 docs/user/supported_devices.rst |  2 ++
 modules                         |  4 ++--
 targets/ramips-mt7621           | 14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst
index c44048d1b..e328deca4 100644
--- a/docs/user/supported_devices.rst
+++ b/docs/user/supported_devices.rst
@@ -457,6 +457,8 @@ ramips-mt7621
 
 * Ubiquiti
 
+  - EdgeRouter X
+  - EdgeRouter X-SFP
   - UniFi 6 Lite
   - UniFi nanoHD
 
diff --git a/modules b/modules
index 8231c7028..b17f92259 100644
--- a/modules
+++ b/modules
@@ -2,14 +2,14 @@ GLUON_FEEDS='gluon packages routing'
 
 OPENWRT_REPO=https://github.com/openwrt/openwrt.git
 OPENWRT_BRANCH=openwrt-24.10
-OPENWRT_COMMIT=c279ca8b799e567226df804f07fd7a6073487b5f
+OPENWRT_COMMIT=66e76aa94f0508d63a75fac2739a5bc0edb021ec
 
 PACKAGES_GLUON_REPO=https://github.com/freifunk-gluon/packages.git
 PACKAGES_GLUON_COMMIT=3d08b0fee8dc5d96d8bcdb985fad1d5564de4022
 
 PACKAGES_PACKAGES_REPO=https://github.com/openwrt/packages.git
 PACKAGES_PACKAGES_BRANCH=openwrt-24.10
-PACKAGES_PACKAGES_COMMIT=da072f76e4e6e41df6a0bc377e9d002a9e0ff471
+PACKAGES_PACKAGES_COMMIT=b5f11b79d2b0538d57103a8da05e7a7a87981ff3
 
 PACKAGES_ROUTING_REPO=https://github.com/openwrt/routing.git
 PACKAGES_ROUTING_BRANCH=openwrt-24.10
diff --git a/targets/ramips-mt7621 b/targets/ramips-mt7621
index edf203e37..0f007f3c9 100644
--- a/targets/ramips-mt7621
+++ b/targets/ramips-mt7621
@@ -174,3 +174,17 @@ device('zyxel-wsm20', 'zyxel_wsm20', {
 	factory = false,
 })
 
+
+-- Devices without WLAN
+
+-- Ubiquiti
+
+device('ubiquiti-edgerouter-x', 'ubnt_edgerouter-x', {
+	factory = false,
+	packages = {'-hostapd-mini'},
+})
+
+device('ubiquiti-edgerouter-x-sfp', 'ubnt_edgerouter-x-sfp', {
+	factory = false,
+	packages = {'-hostapd-mini'},
+})
-- 
GitLab