Support empty post_install model list
The signal telling postinstall was configured was never sent. Co-authored-by: Didier Roche <didrocks@ubuntu.com>
This commit is contained in:
parent
1f4a9ab6f3
commit
a60da3e589
|
@ -146,6 +146,13 @@ class SubiquityModel:
|
|||
self._confirmation_task.cancel()
|
||||
else:
|
||||
self._install_event.set()
|
||||
unconfigured_postinstall_model_names = \
|
||||
self._cur_postinstall_model_names - self._configured_names
|
||||
if unconfigured_postinstall_model_names:
|
||||
if self._postinstall_event.is_set():
|
||||
self._postinstall_event = asyncio.Event()
|
||||
else:
|
||||
self._postinstall_event.set()
|
||||
|
||||
def configured(self, model_name):
|
||||
self._configured_names.add(model_name)
|
||||
|
|
Loading…
Reference in New Issue