Oops, unmount the contents of this (temporary) onie boot context

This commit is contained in:
Carl D. Roth
2016-11-30 18:23:58 -08:00
parent 8bee5e7796
commit 271434a71c

View File

@@ -168,6 +168,12 @@ class App(SubprocessMixin, object):
##self.grubEnv = ConfUtils.GrubEnv(log=self.log.getChild("grub"))
with OnieBootContext(log=self.log) as self.octx:
self.octx.ictx.attach()
self.octx.ictx.unmount()
self.octx.ictx.detach()
# XXX roth -- here, detach the initrd mounts
self.octx.detach()
if self.octx.onieDir is not None: