diff --git a/.github/workflows/configure-building-enviroment-base-system.sh b/.github/workflows/configure-building-enviroment-base-system.sh index b6e8975..799ac38 100755 --- a/.github/workflows/configure-building-enviroment-base-system.sh +++ b/.github/workflows/configure-building-enviroment-base-system.sh @@ -74,6 +74,6 @@ sudo chroot $bottlePath git clone $4 -b $6 #--depth=1 sudo mv $bottlePath/$(basename $3)/.github/workflows/* $bottlePath/$(basename $4)/.github/workflows -v # 修改版本号 #sudo sed -i "s/) UNRELEASED; urgency=medium/~$2) UNRELEASED; urgency=medium/g" $bottlePath/deep-wine-runner-qemu-system/debian/changelog -env gitPath=$(basename $4) bash .github/workflows/run-command-in-chroot.sh env GXDE_CROSS_ARCH=$GXDE_CROSS_ARCH .github/workflows/configure-building-enviroment.sh $7 +env gitPath=$(basename $4) bash .github/workflows/run-command-in-chroot.sh .github/workflows/configure-building-enviroment.sh $7 $GXDE_CROSS_ARCH exit 0 diff --git a/.github/workflows/configure-building-enviroment.sh b/.github/workflows/configure-building-enviroment.sh index 254f9af..c0565db 100755 --- a/.github/workflows/configure-building-enviroment.sh +++ b/.github/workflows/configure-building-enviroment.sh @@ -1,5 +1,6 @@ #!/bin/bash export DEBIAN_FRONTEND=noninteractive # 防止卡 tzdate +GXDE_CROSS_ARCH=$2 #mkdir -p /etc/apt/sources.list.d/ #cp /etc/apt/sources.list /etc/apt/sources.list.d/sources.list #sed -i "s/deb /deb-src /g" /etc/apt/sources.list.d/sources.list diff --git a/.github/workflows/sources-tianlu.list b/.github/workflows/sources-tianlu.list new file mode 100644 index 0000000..f9dbb5d --- /dev/null +++ b/.github/workflows/sources-tianlu.list @@ -0,0 +1,10 @@ +# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 +deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware +deb-src https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware + +deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware +deb-src https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware + +# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换 +deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware +deb-src https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware \ No newline at end of file