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:
committed by
Dr. Jens Harbott
parent
d00d74b6e8
commit
4c16313ad2
@@ -11,6 +11,12 @@
|
||||
"iptables": "iptables-services"
|
||||
}
|
||||
},
|
||||
"debian": {
|
||||
"bookworm": {
|
||||
"ntp": "",
|
||||
"ntpdate": ""
|
||||
}
|
||||
},
|
||||
"rocky": {
|
||||
"8": {
|
||||
"ntp": "chrony",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user