mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +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
2da0d42409
commit
97cc58a833
@ -75,7 +75,8 @@ class DateTimeApp(app_module.App):
|
||||
packages = Packages('packages-datetime', ['systemd-timesyncd'])
|
||||
self.add(packages)
|
||||
|
||||
daemon = RelatedDaemon('daemon-datetime', 'systemd-timedated')
|
||||
daemon = RelatedDaemon('daemon-datetime-timedated',
|
||||
'systemd-timedated')
|
||||
self.add(daemon)
|
||||
|
||||
if self._is_time_managed():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user