1
0
mirror of synced 2026-02-01 22:12:10 +00:00

Use regexp to check for $dist/updates vs $dist-security

If the security repo will be  enabled or not currently depends on the
host's sources.list. So the resulting files differ depending on the
host where the test is run. Add a TODO item to break with that
"feature".

Also mention in the TODO list that a repo on archive.debian.org should
be used instead security.debian.org if the release is EoL. Currently
the security mirror is hardcoded into the hook.
This commit is contained in:
Axel Beckert
2020-12-20 08:32:12 +01:00
parent ed497ab39c
commit 285d2c80b9
6 changed files with 43 additions and 126 deletions

View File

@@ -1,16 +0,0 @@
#
# /etc/apt/sources.list
#
#
# bookworm
#
deb http://deb.debian.org/debian bookworm main contrib non-free
deb-src http://deb.debian.org/debian bookworm main contrib non-free
#
# Security updates
#
deb http://security.debian.org/ bookworm-security main contrib non-free
deb-src http://security.debian.org/ bookworm-security main contrib non-free

View File

@@ -1,16 +0,0 @@
#
# /etc/apt/sources.list
#
#
# bullseye
#
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
#
# Security updates
#
deb http://security.debian.org/ bullseye-security main contrib non-free
deb-src http://security.debian.org/ bullseye-security main contrib non-free

View File

@@ -1,16 +0,0 @@
#
# /etc/apt/sources.list
#
#
# buster
#
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free
#
# Security updates
#
deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free

View File

@@ -1,16 +0,0 @@
#
# /etc/apt/sources.list
#
#
# sid
#
deb http://deb.debian.org/debian sid main contrib non-free
deb-src http://deb.debian.org/debian sid main contrib non-free
#
# Security updates - Uncomment to enable.
#
# deb http://security.debian.org/ sid-security main contrib non-free
# deb-src http://security.debian.org/ sid-security main contrib non-free

View File

@@ -1,16 +0,0 @@
#
# /etc/apt/sources.list
#
#
# stretch
#
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
#
# Security updates
#
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free