summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-01-23 04:19:34 +0000
committerMatt Wilson <msw@redhat.com>2001-01-23 04:19:34 +0000
commit613fe3325ea8a1226b537367a556189da4f7d083 (patch)
tree27bebc7de5f5fd17c713f3d168ca09ab4b2ad561 /upgrade.py
parent62708609c131b687c047a8bc5b9966ecd0c9a423 (diff)
downloadanaconda-613fe3325ea8a1226b537367a556189da4f7d083.tar.gz
anaconda-613fe3325ea8a1226b537367a556189da4f7d083.tar.xz
anaconda-613fe3325ea8a1226b537367a556189da4f7d083.zip
use the new fstab loop root functions
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade.py b/upgrade.py
index 62ee9efda..c0c5f1715 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -77,14 +77,14 @@ def mountRootPartition(rootInfo, theFstab, instPath, allowDirty = 0):
mdList = raid.startAllRaid(theFstab.driveList())
if rootFs == "vfat":
- theFstab.mountLoopbackRoot(root)
+ fstab.mountLoopbackRoot(root)
else:
isys.mount(root, '/mnt/sysimage')
fstab.readFstab('/mnt/sysimage/etc/fstab', theFstab)
if rootFs == "vfat":
- theFstab.unmountLoopbackRoot()
+ fstab.unmountLoopbackRoot()
else:
isys.umount('/mnt/sysimage')