summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages.py b/packages.py
index 371e10e37..c141c9248 100644
--- a/packages.py
+++ b/packages.py
@@ -101,6 +101,7 @@ def doMigrateFilesystems(anaconda):
# if we're upgrading, we may need to do lvm device node hackery
anaconda.id.fsset.makeLVMNodes(anaconda.rootPath, trylvm1 = 1)
# and we should write out a new fstab with the migrated fstype
+ shutil.copyfile("%s/etc/fstab" % anaconda.rootPath, "%s/etc/fstab.anaconda" % anaconda.rootPath)
anaconda.id.fsset.write(anaconda.rootPath)
# and make sure /dev is mounted so we can read the bootloader
bindMountDevDirectory(anaconda.rootPath)