summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-11-28 15:11:42 -0500
committerChris Lumens <clumens@redhat.com>2007-11-28 15:11:42 -0500
commitc5b08b826f9a8f281a19208c9571dfd5da9cf5a3 (patch)
tree7db9d46c27c10467fc609c081baf8b981fed19db /livecd.py
parent2aac38821cf72d2bbb42a7cb85a89c871c706422 (diff)
downloadanaconda-c5b08b826f9a8f281a19208c9571dfd5da9cf5a3.tar.gz
anaconda-c5b08b826f9a8f281a19208c9571dfd5da9cf5a3.tar.xz
anaconda-c5b08b826f9a8f281a19208c9571dfd5da9cf5a3.zip
Move protected partitions into the Partitions object.
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/livecd.py b/livecd.py
index a804d23b0..d718bfee9 100644
--- a/livecd.py
+++ b/livecd.py
@@ -122,13 +122,6 @@ class LiveCDImageMethod(installmethod.InstallMethod):
except Exception, e:
log.error("Unable to unmount filesystems.")
- def protectedPartitions(self):
- if os.path.exists("/dev/live") and \
- stat.S_ISBLK(os.stat("/dev/live")[stat.ST_MODE]):
- target = os.readlink("/dev/live")
- return [target]
- return []
-
def getLiveBlockDevice(self):
return self.osimg