testing: Add support for Debian trixie base images

This commit is contained in:
Tobias Brunner
2025-09-18 11:13:32 +02:00
parent 518b8e4286
commit 1767ba2a13
2 changed files with 9 additions and 28 deletions
+1 -12
View File
@@ -76,18 +76,7 @@ do
execute_chroot "dnssec-signzone -K /etc/bind -o org. /etc/bind/db.org" 0
execute_chroot "dnssec-signzone -K /etc/bind -o . /etc/bind/db.root" 0
# on bullseye and newer, enabling via bind9 doesn't work, while
# disabling does, so use named here. on the other hand, older releases
# like buster don't have named service files
SERVICES="apache2 slapd"
case "$BASEIMGSUITE" in
buster)
SERVICES="$SERVICES bind9"
;;
*)
SERVICES="$SERVICES named"
;;
esac
SERVICES="apache2 slapd named"
for service in $SERVICES
do
execute_chroot "systemctl enable $service" 0