Simplify systemd-timesyncd management.

Buster was the only one with timesyncd shipped directly in systemd.
This commit is contained in:
Cyril Brulebois 2023-06-13 21:29:51 +02:00
parent 45ef172142
commit 20b903c771
2 changed files with 1 additions and 5 deletions

View File

@ -104,9 +104,6 @@ else:
# deb http://deb.debian.org/debian %s main %s
""" % (backports_suite, firmware_component)
# Buster shipped timesyncd directly into systemd:
systemd_timesyncd = 'systemd-timesyncd'
gitcommit = subprocess.getoutput("git show -s --pretty='format:%C(auto)%h (%s, %ad)' --date=short ")
buildtime = subprocess.getoutput("date --utc +'%Y-%m-%d %H:%M'")
@ -141,7 +138,6 @@ with open('raspi_master.yaml', 'r') as in_file:
.replace('__FIRMWARE_COMPONENT_OLD__', firmware_component_old) \
.replace('__LINUX_IMAGE__', linux) \
.replace('__DTB__', dtb) \
.replace('__SYSTEMD_TIMESYNCD__', systemd_timesyncd) \
.replace('__WIRELESS_FIRMWARE__', wireless_firmware) \
.replace('__BLUETOOTH_FIRMWARE__', bluetooth_firmware) \
.replace('__SERIAL_CONSOLE__', serial) \

View File

@ -77,7 +77,7 @@ steps:
- parted
- ssh
- wpasupplicant
- __SYSTEMD_TIMESYNCD__
- systemd-timesyncd
- __LINUX_IMAGE__
- raspi-firmware
- __WIRELESS_FIRMWARE__