From 998b5808b2e3f0cab8903a12710da9628897162e Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Fri, 20 Mar 2026 13:35:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=81=9C=E7=94=A8riscv64=20backport?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gfdgd_xi <3025613752@qq.com> --- .github/workflows/configure-building-enviroment.sh | 6 +++++- .../sources-zhuangzhuang-without-backport.list | 10 ++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/sources-zhuangzhuang-without-backport.list diff --git a/.github/workflows/configure-building-enviroment.sh b/.github/workflows/configure-building-enviroment.sh index 5903263..b7db643 100755 --- a/.github/workflows/configure-building-enviroment.sh +++ b/.github/workflows/configure-building-enviroment.sh @@ -34,7 +34,11 @@ fi apt install -f -y apt install debian-ports-archive-keyring debian-archive-keyring -y if [[ -f /sources-list/sources-$1.list ]]; then - cp /sources-list/sources-$1.list /etc/apt/sources.list.d -v + if [[ $(dpkg --print-architecture) == "riscv64" ]]; then + cp /sources-list/sources-$1-without-backport.list /etc/apt/sources.list.d -v + else + cp /sources-list/sources-$1.list /etc/apt/sources.list.d -v + fi fi for i in {1..8}; do diff --git a/.github/workflows/sources-zhuangzhuang-without-backport.list b/.github/workflows/sources-zhuangzhuang-without-backport.list new file mode 100644 index 0000000..4284e7a --- /dev/null +++ b/.github/workflows/sources-zhuangzhuang-without-backport.list @@ -0,0 +1,10 @@ +# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 +deb https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware +# deb-src https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware + +deb https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware +# deb-src https://deb.debian.org/debian/ trixie-updates main contrib non-free non-free-firmware + +# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换 +deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware +# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware \ No newline at end of file