summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-07-30 15:43:31 +0000
committerChris Lumens <clumens@redhat.com>2007-07-30 15:43:31 +0000
commitb3bcd12a5a94ea06a47297d4f468c5783f335a48 (patch)
tree609f0ed5b913f849349503e2d96b1f33b6a787a1 /anaconda
parent248e06917467e6c677cec8d9e576344edda2e3d3 (diff)
downloadanaconda-b3bcd12a5a94ea06a47297d4f468c5783f335a48.tar.gz
anaconda-b3bcd12a5a94ea06a47297d4f468c5783f335a48.tar.xz
anaconda-b3bcd12a5a94ea06a47297d4f468c5783f335a48.zip
Move device node creation just a little bit earlier.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda8
1 files changed, 4 insertions, 4 deletions
diff --git a/anaconda b/anaconda
index 8009dca60..8b9d330ba 100755
--- a/anaconda
+++ b/anaconda
@@ -851,6 +851,10 @@ if __name__ == "__main__":
else:
anaconda.intf.messageWindow("Unknown monitor", msg)
+ # create device nodes for detected devices if we're not running in test mode
+ if not flags.test and flags.setupFilesystems:
+ iutil.makeDriveDeviceNodes()
+
# imports after setting up the path
if anaconda.methodstr:
anaconda.setMethod(instClass)
@@ -862,10 +866,6 @@ if __name__ == "__main__":
log.critical (_("unknown install method: %s"), opts.method)
sys.exit(1)
- # create device nodes for detected devices if we're not running in test mode
- if not flags.test and flags.setupFilesystems:
- iutil.makeDriveDeviceNodes()
-
anaconda.setBackend(instClass)
anaconda.id = instClass.installDataClass(anaconda, extraModules, floppyDevice, anaconda.methodstr, opts.display_mode, anaconda.backend)