From a32ad55a624e3585a68c11b4ba8d2c7c8fca0fa3 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 4 Apr 2007 20:34:25 +0000 Subject: 2007-04-04 Jeremy Katz * livecd.py (LiveCDImageMethod.postAction): Unmount filesystems in the live case before continuing on. * installclass.py (BaseInstallClass.postAction): Call the method postAction * installmethod.py (InstallMethod.postAction): Add a method to be called in post action for unmounting things in the live case --- livecd.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'livecd.py') diff --git a/livecd.py b/livecd.py index 979d9b0fd..ab80619b1 100644 --- a/livecd.py +++ b/livecd.py @@ -84,6 +84,10 @@ class LiveCDImageMethod(installmethod.InstallMethod): custom_buttons=[_("Exit installer")]) sys.exit(0) + def postAction(self, anaconda): + anaconda.id.fsset.umountFilesystems(anaconda.rootPath, + swapoff = False) + def getLiveBlockDevice(self): return self.osimg -- cgit