mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
datetime: Explicitly list systemd-timesyncd as a dependency
Closes: #2162. Something changed in Debian packaging and systemd-timesyncd was not automatically being installed. Tests: - Run functional tests for datatime app. - Run ./run --list-dependencies and note that systemd-timesyncd is listed. - packages.debian.org shows that systemd-timesyncd package is available in Bullseye, Bookworm and sid. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
62e7f9dc62
commit
de5300f44c
@ -11,6 +11,7 @@ from plinth import app as app_module
|
||||
from plinth import menu
|
||||
from plinth.daemon import Daemon
|
||||
from plinth.modules.backups.components import BackupRestore
|
||||
from plinth.package import Packages
|
||||
|
||||
from . import manifest
|
||||
|
||||
@ -73,6 +74,9 @@ class DateTimeApp(app_module.App):
|
||||
'datetime:index', parent_url_name='system')
|
||||
self.add(menu_item)
|
||||
|
||||
packages = Packages('packages-datetime', ['systemd-timesyncd'])
|
||||
self.add(packages)
|
||||
|
||||
if self._is_time_managed():
|
||||
daemon = Daemon('daemon-datetime', 'systemd-timesyncd')
|
||||
self.add(daemon)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user