Merge pull request #1166 from dbungert/umount-hack

mirror: don't call apt cleanup
This commit is contained in:
Michael Hudson-Doyle 2022-01-19 14:11:21 +13:00 committed by GitHub
commit 96c8b51a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -133,8 +133,9 @@ class MirrorController(SubiquityController):
self._apply_apt_config_task.start_sync()
async def _apply_apt_config(self):
if self.apt_configurer is not None:
await self.apt_configurer.cleanup()
# if self.apt_configurer is not None:
# FIXME disabled until we can sort out umount
# await self.apt_configurer.cleanup()
self.apt_configurer = get_apt_configurer(
self.app, self.app.controllers.Source.source_path)
await self.apt_configurer.apply_apt_config(self.context)