mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 03:46:37 +08:00
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user