diff --git a/.github/workflows/configure-building-enviroment-base-system.sh b/.github/workflows/configure-building-enviroment-base-system.sh index 80a0fe9..cbd4ce6 100755 --- a/.github/workflows/configure-building-enviroment-base-system.sh +++ b/.github/workflows/configure-building-enviroment-base-system.sh @@ -62,6 +62,8 @@ if [[ $7 == "backport" ]]; then sudo cp -rv .github/workflows/90bookworm-backports $bottlePath/etc/apt/preferences.d/ echo "deb [trusted=true] https://repo.gxde.top/gxde-os/tianlu-bpo ./" >> $bottlePath/etc/apt/sources.list.d/gxde-os-bpo.list fi +sudo mkdir -p $bottlePath/sources-list +sudo cp -v .github/workflows/sources-*.list $bottlePath/sources-list # 配置 git #echo "deb [trusted=true] https://deb.debian.org/debian-ports/ unreleased main" | sudo tee $bottlePath/etc/apt/sources.list.d/debian-unreleased.list sudo chroot $bottlePath apt update diff --git a/.github/workflows/configure-building-enviroment.sh b/.github/workflows/configure-building-enviroment.sh index 60ef102..5903263 100755 --- a/.github/workflows/configure-building-enviroment.sh +++ b/.github/workflows/configure-building-enviroment.sh @@ -33,6 +33,9 @@ fi #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 +fi for i in {1..8}; do apt update -o Acquire::Check-Valid-Until=false -y @@ -59,6 +62,7 @@ apt install dpkg-dev sudo debian-ports-archive-keyring debian-archive-keyring de # 如果是 Debian10 就需要安装 Python3 的依赖 #apt build-dep python3.7 -y # 解包 gxde-desktop-base + apt download gxde-desktop-base dpkg -x gxde-desktop-base_*.deb / rm gxde-desktop-base_*.deb -rfv diff --git a/.github/workflows/sources-zhuangzhuang.list b/.github/workflows/sources-zhuangzhuang.list new file mode 100644 index 0000000..185ec20 --- /dev/null +++ b/.github/workflows/sources-zhuangzhuang.list @@ -0,0 +1,13 @@ +# 默认注释了源码镜像以提高 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://deb.debian.org/debian/ trixie-backports main contrib non-free non-free-firmware +# deb-src https://deb.debian.org/debian/ trixie-backports 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