testing: Support build with Debian bullseye base image

This commit is contained in:
Tobias Brunner
2021-10-01 15:05:44 +02:00
parent f92ad8454b
commit dff5a0cab8
2 changed files with 22 additions and 4 deletions
+4 -1
View File
@@ -75,7 +75,10 @@ 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
for service in "apache2 slapd bind9"
# on bullseye, enabling via bind9 doesn't work, while disabling does, so
# use named there. on the other hand, older releases don't have named
# service files (systemctl returns 0 even if files are not found)
for service in apache2 slapd bind9 named
do
execute_chroot "systemctl enable $service" 0
done