Merge remote-tracking branch 'origin/ryansquared/restrict-packages-to-snapshot'
This commit is contained in:
commit
46de4dddbd
|
@ -6,14 +6,12 @@ set -e
|
||||||
snapshot_url="http://snapshot.debian.org/archive/debian"
|
snapshot_url="http://snapshot.debian.org/archive/debian"
|
||||||
snapshot_date=$(date +"%Y%m%dT000000Z")
|
snapshot_date=$(date +"%Y%m%dT000000Z")
|
||||||
cat <<-EOF > /etc/apt/sources.list
|
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}/${snapshot_date} bookworm main
|
||||||
deb [trusted=yes] ${snapshot_url}-security/${snapshot_date} bookworm-security main
|
deb [trusted=yes] ${snapshot_url}-security/${snapshot_date} bookworm-security main
|
||||||
deb [trusted=yes] ${snapshot_url}/${snapshot_date} bookworm-updates main
|
deb [trusted=yes] ${snapshot_url}/${snapshot_date} bookworm-updates main
|
||||||
EOF
|
EOF
|
||||||
cp /etc/apt/sources.list /config/toolchain/
|
cp /etc/apt/sources.list /config/toolchain/
|
||||||
|
rm /etc/apt/sources.list.d/*
|
||||||
|
|
||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue