diff options
| author | Cyril Brulebois <cyril@debamax.com> | 2021-12-08 21:18:14 +0100 |
|---|---|---|
| committer | Cyril Brulebois <cyril@debamax.com> | 2021-12-08 21:38:36 +0100 |
| commit | 96ac1dcec76e9af65150c4c2c2e5c88a3191504b (patch) | |
| tree | 878e48f75117dc45908d5ec9d19b114eec7f2900 | |
| parent | 53b35993c7228f59a4c03bec567e575c0134f407 (diff) | |
Install systemd-timesyncd explicitly (fixes: #58).
It used to be pulled this way (up to Bullseye), via systemd:
Depends: […] systemd-timesyncd | time-daemon […]
Starting with Bookworm, this was downgraded to:
Recommends: […] systemd-timesyncd | time-daemon
Install it all the time: NTP support is important on Raspberry Pi
devices, which usually don't feature an RTC.
But be careful since Buster had systemd itself provide that feature (no
separate systemd-timesyncd package yet).
Thanks, David Tomaschik!
| -rwxr-xr-x | generate-recipe.py | 7 | ||||
| -rw-r--r-- | raspi_master.yaml | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/generate-recipe.py b/generate-recipe.py index a8f428f..a5cbf7b 100755 --- a/generate-recipe.py +++ b/generate-recipe.py @@ -122,6 +122,12 @@ if suite == 'buster': else: touch_machine_id = '' +# Buster shipped timesyncd directly into systemd: +if suite == 'buster': + systemd_timesyncd = 'systemd' +else: + systemd_timesyncd = 'systemd-timesyncd' + ### Write results: @@ -153,6 +159,7 @@ with open('raspi_master.yaml', 'r') as in_file: .replace('__LINUX_IMAGE__', linux) \ .replace('__DTB__', dtb) \ .replace('__SECURITY_SUITE__', security_suite) \ + .replace('__SYSTEMD_TIMESYNCD__', systemd_timesyncd) \ .replace('__RASPI_FIRMWARE__', raspi_firmware) \ .replace('__WIRELESS_FIRMWARE__', wireless_firmware) \ .replace('__SERIAL_CONSOLE__', serial) \ diff --git a/raspi_master.yaml b/raspi_master.yaml index 95ffe8a..ce9f1aa 100644 --- a/raspi_master.yaml +++ b/raspi_master.yaml @@ -79,6 +79,7 @@ steps: - parted - ssh - wpasupplicant + - __SYSTEMD_TIMESYNCD__ - __LINUX_IMAGE__ - __RASPI_FIRMWARE__ - __WIRELESS_FIRMWARE__ |
