summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2009-04-01 16:03:56 -0400
committerJeremy Katz <katzj@redhat.com>2009-04-02 14:33:32 -0400
commitc3dac2c885e651253024f1ed8915a52acd1b3e96 (patch)
tree1a84dc8b6b9b83dd0e45a914831c594e72b8b9a0 /livecd.py
parented5ffcdb3528f2af0c94686663f287c62857f141 (diff)
downloadanaconda-c3dac2c885e651253024f1ed8915a52acd1b3e96.tar.gz
anaconda-c3dac2c885e651253024f1ed8915a52acd1b3e96.tar.xz
anaconda-c3dac2c885e651253024f1ed8915a52acd1b3e96.zip
Don't allow the rootfs on live installs to not match (#493206, #492727)
Ensure that with live installs that the type of the rootfs matches what we need it to. This used to be done behind the user's back in the livecd code, but it's probably better to handle more generally like this
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/livecd.py b/livecd.py
index 391b1ce89..915c0c178 100644
--- a/livecd.py
+++ b/livecd.py
@@ -112,6 +112,7 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
custom_icon="error",
custom_buttons=[_("Exit installer")])
sys.exit(0)
+ self.rootFsType = isys.readFSType(self.osimg)
def _getLiveBlockDevice(self):
return os.path.normpath(self.osimg)