mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 06:56:36 +08:00
loong64配置容器时会安装签名以避免反复apt update
This commit is contained in:
@@ -26,9 +26,10 @@ fi
|
||||
if [[ $(dpkg --print-architecture) == "loong64" ]]; then
|
||||
echo "deb [trusted=true] https://packages.gxde.org/debian-loong64/ unreleased main" > /etc/apt/sources.list.d/debian-unreleased.list
|
||||
fi
|
||||
apt install debian-ports-archive-keyring debian-archive-keyring -y
|
||||
for i in {1..8};
|
||||
do
|
||||
apt update -y
|
||||
apt update -o Acquire::Check-Valid-Until=false -y
|
||||
if [[ $? == 0 ]]; then
|
||||
break
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user