summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py
index de83f4efc..142ddf6c7 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -85,7 +85,7 @@ def mountRootPartition(intf, rootInfo, theFstab, instPath, allowDirty = 0,
else:
isys.mount(root, '/mnt/sysimage')
- fstab.readFstab('/mnt/sysimage/etc/fstab', theFstab)
+ fstab.readFstab(instPath + '/etc/fstab', theFstab)
if rootFs == "vfat":
fstab.unmountLoopbackRoot()