修复bookworm未正常添加安全源的问题

Signed-off-by: gfdgd_xi <3025613752@qq.com>
This commit is contained in:
2026-05-09 22:37:39 +08:00
parent 98a89915e1
commit 8c0ad2bc93
3 changed files with 12 additions and 1 deletions
@@ -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 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 #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 exit 0
@@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
export DEBIAN_FRONTEND=noninteractive # 防止卡 tzdate export DEBIAN_FRONTEND=noninteractive # 防止卡 tzdate
GXDE_CROSS_ARCH=$2
#mkdir -p /etc/apt/sources.list.d/ #mkdir -p /etc/apt/sources.list.d/
#cp /etc/apt/sources.list /etc/apt/sources.list.d/sources.list #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 #sed -i "s/deb /deb-src /g" /etc/apt/sources.list.d/sources.list
+10
View File
@@ -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