summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-09-19 17:48:07 -0400
committerChris Lumens <clumens@redhat.com>2008-09-19 17:48:07 -0400
commitf8cfa36e0764782767d5a02dfda9b605440cb83e (patch)
tree101d5761c2d37eba2e951874beef7e2dcc65efd2 /packages.py
parent2a863738387d5e1560c32a1b93495608dc5a358c (diff)
downloadanaconda-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.py4
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):