Merge pull request #865 from mwhudson/stop-probing-when-filesystem-configured

stop listening to udev events when the filesystem gets configured
This commit is contained in:
Michael Hudson-Doyle 2020-12-15 23:47:00 +13:00 committed by GitHub
commit 43601b8d79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -88,10 +88,13 @@ class FilesystemController(SubiquityController, FilesystemManipulator):
log.debug("self.ai_data = %s", data)
self.ai_data = data
def configured(self):
super().configured()
self.stop_listening_udev()
@with_context()
async def apply_autoinstall_config(self, context=None):
await self._start_task
self.stop_listening_udev()
await self._probe_task.wait()
self.convert_autoinstall_config(context=context)
if not self.model.is_root_mounted():