diff options
author | Chris Lumens <clumens@redhat.com> | 2007-08-01 14:56:25 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-08-01 14:56:25 +0000 |
commit | 3a20986e7370df1a71bda0a312c9919ad6e7b86d (patch) | |
tree | 958aaa2f9c065d07d41dcab57ebf60da45e88c60 /partRequests.py | |
parent | b56f73de2a98750c1810025cb4679c05425ea4cc (diff) | |
download | anaconda-3a20986e7370df1a71bda0a312c9919ad6e7b86d.tar.gz anaconda-3a20986e7370df1a71bda0a312c9919ad6e7b86d.tar.xz anaconda-3a20986e7370df1a71bda0a312c9919ad6e7b86d.zip |
Certain filesystems must be formatted on live CD installs (#250301).
Diffstat (limited to 'partRequests.py')
-rw-r--r-- | partRequests.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/partRequests.py b/partRequests.py index 118b8e2b9..0f5884ea0 100644 --- a/partRequests.py +++ b/partRequests.py @@ -6,7 +6,7 @@ # Mike Fulbright <msf@redhat.com> # Harald Hoyer <harald@redhat.de> # -# Copyright 2002-2005 Red Hat, Inc. +# Copyright 2002-2007 Red Hat, Inc. # # This software may be freely redistributed under the terms of the GNU # library public license. @@ -23,6 +23,7 @@ import string import os, sys, math from constants import * +from flags import * from rhpl.translate import _ import fsset @@ -244,7 +245,7 @@ class RequestSpec: if self.fstype is None: return None - if self.fstype.isMountable(): + if self.fstype.isMountable(): if self.mountpoint in mustbeonroot: return _("This mount point is invalid. The %s directory must " "be on the / file system.") % (self.mountpoint,) @@ -253,7 +254,11 @@ class RequestSpec: "be a symbolic link for proper system " "operation. Please select a different " "mount point.") % (self.mountpoint,) - + + if flags.livecd and self.mountpoint in mustbeonlinuxfs and not self.format: + return _("The mount point %s must be formatted on live CD " + "installs.") % (self.mountpoint,) + if not self.fstype.isLinuxNativeFS(): if self.mountpoint in mustbeonlinuxfs: return _("This mount point must be on a linux file system.") |