From f4aae4bee21f33f09e3dd76bb611657c8892b551 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Wed, 18 Dec 2024 21:10:39 +0800 Subject: [PATCH] Update `OpenWrt` upstream --- src/recipe/os/OpenWrt.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/recipe/os/OpenWrt.c b/src/recipe/os/OpenWrt.c index 23eff53..f853b4a 100644 --- a/src/recipe/os/OpenWrt.c +++ b/src/recipe/os/OpenWrt.c @@ -6,15 +6,21 @@ * | happy game * | * Created On : <2024-08-08> - * Last Modified : <2024-12-14> + * Last Modified : <2024-12-18> * ------------------------------------------------------------*/ +static SourceProvider_t os_openwrt_upstream = +{ + def_upstream, "https://downloads.openwrt.org", + {NotSkip, NA, NA, "https://downloads.openwrt.org/releases/23.05.5/targets/x86/64/openwrt-sdk-23.05.5-x86-64_gcc-12.3.0_musl.Linux-x86_64.tar.xz"} +}; + /** * @update 2024-12-14 */ static Source_t os_openwrt_sources[] = { - {&UpstreamProvider, "https://downloads.openwrt.org"}, + {&os_openwrt_upstream, "https://downloads.openwrt.org"}, {&MirrorZ, "https://mirrors.cernet.edu.cn/openwrt"}, {&Ali, "https://mirrors.aliyun.com/openwrt"}, {&Tencent, "https://mirrors.cloud.tencent.com/openwrt"}, @@ -86,4 +92,4 @@ os_openwrt_feat (char *option) } -def_target_gsrf(os_openwrt); \ No newline at end of file +def_target_gsrf(os_openwrt);