mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
datetime: Use unique component ID for related daemon
The original change worked ok in a container, but failed in virtualbox. This was due to the component being replaced by the Daemon component that had the same ID, on systems where time is managed. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
4f0bb925c7
commit
ee4c9db615
@ -75,7 +75,8 @@ class DateTimeApp(app_module.App):
|
|||||||
packages = Packages('packages-datetime', ['systemd-timesyncd'])
|
packages = Packages('packages-datetime', ['systemd-timesyncd'])
|
||||||
self.add(packages)
|
self.add(packages)
|
||||||
|
|
||||||
daemon = RelatedDaemon('daemon-datetime', 'systemd-timedated')
|
daemon = RelatedDaemon('daemon-datetime-timedated',
|
||||||
|
'systemd-timedated')
|
||||||
self.add(daemon)
|
self.add(daemon)
|
||||||
|
|
||||||
if self._is_time_managed():
|
if self._is_time_managed():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user