Build debian bookworm images

Release is done, mirror is in place, ready to go.

Adopt using systemd-timesyncd like we do for recent Ubuntu releases.

Change-Id: I3fbdc151177bf2dba81920a4a2e3966f271b50ad
This commit is contained in:
Dr. Jens Harbott
2023-07-03 06:54:05 +02:00
committed by Dr. Jens Harbott
parent d00d74b6e8
commit 4c16313ad2
4 changed files with 60 additions and 2 deletions

View File

@@ -11,6 +11,12 @@
"iptables": "iptables-services"
}
},
"debian": {
"bookworm": {
"ntp": "",
"ntpdate": ""
}
},
"rocky": {
"8": {
"ntp": "chrony",

View File

@@ -12,8 +12,8 @@ case "$DIB_INIT_SYSTEM" in
exit 0
;;
systemd)
# stick with default systemd timesyncd on focal and beyond
if [[ ":focal: :jammy:" =~ :${DIB_RELEASE}: ]]; then
# stick with default systemd timesyncd on bookworm, focal and beyond
if [[ ":bookworm: :focal: :jammy:" =~ :${DIB_RELEASE}: ]]; then
exit 0
elif [[ $DISTRO_NAME = "ubuntu" || $DISTRO_NAME = "debian" ]]; then
systemctl enable ntp.service