Unmount the EFI directory before doing a re-install

This commit is contained in:
Carl D. Roth
2017-10-11 17:08:10 -07:00
parent 6dbd880959
commit 531ff17684

View File

@@ -195,7 +195,7 @@ class App(SubprocessMixin):
pdir,))
for m in pm.mounts:
if m.dir.startswith('/mnt/onl'):
if m.dir.startswith('/mnt/onl') or m.dir.startswith('/boot'):
if not self.force:
self.log.error("directory %s is still mounted (try --force)", m.dir)
return 1