diff options
author | Chris Lumens <clumens@redhat.com> | 2008-09-19 17:48:07 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-09-19 17:48:07 -0400 |
commit | f8cfa36e0764782767d5a02dfda9b605440cb83e (patch) | |
tree | 101d5761c2d37eba2e951874beef7e2dcc65efd2 /packages.py | |
parent | 2a863738387d5e1560c32a1b93495608dc5a358c (diff) | |
download | anaconda-f8cfa36e0764782767d5a02dfda9b605440cb83e.tar.gz anaconda-f8cfa36e0764782767d5a02dfda9b605440cb83e.tar.xz anaconda-f8cfa36e0764782767d5a02dfda9b605440cb83e.zip |
Remount /mnt/sysimage/dev after migrating filesystems.
We need to do this so we can read the boot blocks from the hard drive and
can present the bootloader upgrade option.
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages.py b/packages.py index d8006a281..f5b5bee62 100644 --- a/packages.py +++ b/packages.py @@ -38,6 +38,7 @@ import traceback from flags import flags from product import * from constants import * +from upgrade import bindMountDevDirectory import logging log = logging.getLogger("anaconda") @@ -101,7 +102,8 @@ def doMigrateFilesystems(anaconda): anaconda.id.fsset.makeLVMNodes(anaconda.rootPath, trylvm1 = 1) # and we should write out a new fstab with the migrated fstype anaconda.id.fsset.write(anaconda.rootPath) - + # and make sure /dev is mounted so we can read the bootloader + bindMountDevDirectory(anaconda.rootPath) def turnOnFilesystems(anaconda): def handleResizeError(e, dev): |