Use chef_

This commit is contained in:
Aoran Zeng
2025-08-11 05:05:15 +08:00
parent 67915c36c4
commit f099a86e53
17 changed files with 84 additions and 89 deletions

View File

@@ -47,7 +47,7 @@ os_debian_prelude ()
// {&Sohu, "https://mirrors.sohu.com/debian", FeedByPrelude}
def_sources_end()
chsrc_set_sources_speed_measure_url_with_postfix (this, "/dists/bookworm/main/Contents-all.gz");
chef_set_sources_speed_measure_url_with_postfix (this, "/dists/bookworm/main/Contents-all.gz");
}

View File

@@ -48,7 +48,7 @@ os_ubuntu_prelude ()
// {&Sohu, "https://mirrors.sohu.com/ubuntu", FeedByPrelude}
def_sources_end()
chsrc_set_sources_speed_measure_url_with_postfix (this, "/dists/noble/Contents-amd64.gz");
chef_set_sources_speed_measure_url_with_postfix (this, "/dists/noble/Contents-amd64.gz");
}

View File

@@ -38,7 +38,7 @@ os_alpine_prelude ()
{&Huawei, "https://mirrors.huaweicloud.com/alpine", FeedByPrelude}
def_sources_end()
chsrc_set_sources_speed_measure_url_with_postfix (this, "/latest-stable/releases/x86_64/alpine-standard-3.21.0-x86_64.iso");
chef_set_sources_speed_measure_url_with_postfix (this, "/latest-stable/releases/x86_64/alpine-standard-3.21.0-x86_64.iso");
}

View File

@@ -39,7 +39,7 @@ os_openwrt_prelude ()
{&Sustech, "https://mirrors.sustech.edu.cn/openwrt", DelegateToMirror}
def_sources_end()
chsrc_set_provider_speed_measure_url (&UpstreamProvider, "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");
chef_set_provider_speed_measure_url (&UpstreamProvider, "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");
}

View File

@@ -33,7 +33,7 @@ os_voidlinux_prelude ()
{&Bfsu, "https://mirrors.bfsu.edu.cn/voidlinux", FeedByPrelude}
def_sources_end()
chsrc_set_sources_speed_measure_url_with_postfix (this, "/live/20240314/void-live-x86_64-musl-20240314-xfce.iso");
chef_set_sources_speed_measure_url_with_postfix (this, "/live/20240314/void-live-x86_64-musl-20240314-xfce.iso");
}

View File

@@ -35,7 +35,7 @@ os_almalinux_prelude ()
{&Nju, "https://mirror.nju.edu.cn/almalinux", FeedByPrelude}
def_sources_end()
chsrc_set_provider_speed_measure_url (&UpstreamProvider, "https://raw.repo.almalinux.org/almalinux/9.5/isos/x86_64/AlmaLinux-9-latest-x86_64-minimal.iso");
chef_set_provider_speed_measure_url (&UpstreamProvider, "https://raw.repo.almalinux.org/almalinux/9.5/isos/x86_64/AlmaLinux-9-latest-x86_64-minimal.iso");
}
/**

View File

@@ -44,7 +44,7 @@ os_openeuler_prelude ()
// {&Sohu, "https://mirrors.sohu.com/openeuler/", FeedByPrelude}
def_sources_end()
chsrc_set_sources_speed_measure_url_with_postfix (this, "https://repo.openeuler.org/openEuler-24.03-LTS/ISO/x86_64/openEuler-24.03-LTS-netinst-x86_64-dvd.iso");
chef_set_sources_speed_measure_url_with_postfix (this, "https://repo.openeuler.org/openEuler-24.03-LTS/ISO/x86_64/openEuler-24.03-LTS-netinst-x86_64-dvd.iso");
}