scripts/pcakages-update: only use packages from debian snapshot
This commit is contained in:
parent
a65be367d9
commit
1e1d4ae3a9
|
@ -6,14 +6,12 @@ set -e
|
|||
snapshot_url="http://snapshot.debian.org/archive/debian"
|
||||
snapshot_date=$(date +"%Y%m%dT000000Z")
|
||||
cat <<-EOF > /etc/apt/sources.list
|
||||
deb http://deb.debian.org/debian bookworm main
|
||||
deb http://security.debian.org/debian-security bookworm-security main
|
||||
deb http://deb.debian.org/debian bookworm-updates main
|
||||
deb [trusted=yes] ${snapshot_url}/${snapshot_date} bookworm main
|
||||
deb [trusted=yes] ${snapshot_url}-security/${snapshot_date} bookworm-security main
|
||||
deb [trusted=yes] ${snapshot_url}/${snapshot_date} bookworm-updates main
|
||||
EOF
|
||||
cp /etc/apt/sources.list /config/toolchain/
|
||||
rm /etc/apt/sources.list.d/*
|
||||
|
||||
ARCH=$(uname -m)
|
||||
|
||||
|
|
Loading…
Reference in New Issue