Commit b29a06ed authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: avoid hardcoding the testing release name



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent c8e58934
...@@ -483,8 +483,8 @@ cleanup_old_schroots() { ...@@ -483,8 +483,8 @@ cleanup_old_schroots() {
fi fi
} }
cleanup_old_schroots "schroots" 31 "/schroots/(reproducible-.+-[0-9]{1,5}|schroot-install-.+)" cleanup_old_schroots "schroots" 31 "/schroots/(reproducible-.+-[0-9]{1,5}|schroot-install-.+)"
# FIXME: find a way to not forget this for the bookworm release, when trixie will become the development version TESTING=$(distro-info -d)
cleanup_old_schroots "unstable and bookworm schroots" 5 "/schroots/reproducible-(unstable|bookworm)-diffoscope-.+-[0-9]{1,5}" cleanup_old_schroots "unstable and bookworm schroots" 5 "/schroots/reproducible-(unstable|$TESTING)-diffoscope-.+-[0-9]{1,5}"
# find very old schroots # find very old schroots
echo "$(date -u) - Detecting schroots older than 1 month" echo "$(date -u) - Detecting schroots older than 1 month"
......
...@@ -307,6 +307,7 @@ if [ -f /etc/debian_version ] ; then ...@@ -307,6 +307,7 @@ if [ -f /etc/debian_version ] ; then
bsd-mailx bsd-mailx
curl curl
debian-archive-keyring debian-archive-keyring
distro-info
dstat dstat
cdebootstrap- cdebootstrap-
debootstrap debootstrap
...@@ -382,8 +383,7 @@ if [ -f /etc/debian_version ] ; then ...@@ -382,8 +383,7 @@ if [ -f /etc/debian_version ] ; then
# needed for rebuilding Debian (using .buildinfo files) # needed for rebuilding Debian (using .buildinfo files)
osuosl173-amd64) DEBS="$DEBS libdpkg-perl libwww-mechanize-perl sbuild" osuosl173-amd64) DEBS="$DEBS libdpkg-perl libwww-mechanize-perl sbuild"
DEBS="$DEBS live-build" # needed for live-build DEBS="$DEBS live-build" # needed for live-build
DEBS="$DEBS cdebootstrap" # needed for testing just that DEBS="$DEBS cdebootstrap" ;; # needed for testing just that
DEBS="$DEBS distro-info" ;; # needed for setting S_D_E to a 'good' value
# needed for opensuse openbuildservice # needed for opensuse openbuildservice
osuosl174-amd64) DEBS="$DEBS osc obs-build qemu-kvm libarchive-tools libjson-perl libxml-simple-perl" ;; osuosl174-amd64) DEBS="$DEBS osc obs-build qemu-kvm libarchive-tools libjson-perl libxml-simple-perl" ;;
*) ;; *) ;;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment