summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-07-16 19:45:33 +0000
committerJeremy Katz <katzj@redhat.com>2007-07-16 19:45:33 +0000
commitc9691d6e4c0e280a4bd6bf15ebd3b0a887c70190 (patch)
tree6a2bfaf5adb606b8a1f3f61a56fd47b0ca7a012f /packages.py
parentce260315c73e920e63dd6fc7badc86ca0527bd92 (diff)
downloadanaconda-c9691d6e4c0e280a4bd6bf15ebd3b0a887c70190.tar.gz
anaconda-c9691d6e4c0e280a4bd6bf15ebd3b0a887c70190.tar.xz
anaconda-c9691d6e4c0e280a4bd6bf15ebd3b0a887c70190.zip
2007-07-16 Jeremy Katz <katzj@redhat.com>
From Jane Dogalt <jdogalt AT yahoo DOT com> * fsset.py: Add case for skipping formatting the rootfs dependent on backend so that we don't format the rootfs for live images. A little bit of a hack, but good enough for now * backend.py: Add skipFormatRoot attribute, defaults to False * livecd.py: Add skipFormatRoot attribute = True * packages.py: Pass skipFormatRoot
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages.py b/packages.py
index c5d269bda..e3578462e 100644
--- a/packages.py
+++ b/packages.py
@@ -150,8 +150,10 @@ def turnOnFilesystems(anaconda):
anaconda.id.fsset.createLogicalVolumes(anaconda.rootPath)
anaconda.id.fsset.formatSwap(anaconda.rootPath)
anaconda.id.fsset.turnOnSwap(anaconda.rootPath)
- anaconda.id.fsset.makeFilesystems (anaconda.rootPath)
- anaconda.id.fsset.mountFilesystems (anaconda)
+ anaconda.id.fsset.makeFilesystems(anaconda.rootPath,
+ anaconda.backend.skipFormatRoot)
+ anaconda.id.fsset.mountFilesystems(anaconda,0,0,
+ anaconda.backend.skipFormatRoot)
def setupTimezone(anaconda):
# we don't need this on an upgrade or going backwards