diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-10-15 20:08:58 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-10-15 20:08:58 +0000 |
commit | 816bd48a989a276a8e610537c202eabe8d0b4d53 (patch) | |
tree | d1f2b3628e4355fe00e5661e0d0530c9146bfedc /rescue.py | |
parent | 5952b30c0caf8b900bcd0025ff8e2c816a40ad5a (diff) | |
download | anaconda-816bd48a989a276a8e610537c202eabe8d0b4d53.tar.gz anaconda-816bd48a989a276a8e610537c202eabe8d0b4d53.tar.xz anaconda-816bd48a989a276a8e610537c202eabe8d0b4d53.zip |
2004-10-15 Jeremy Katz <katzj@redhat.com>
* rescue.py (runRescue): bind mount /dev (#135860)
Diffstat (limited to 'rescue.py')
-rw-r--r-- | rescue.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2,8 +2,9 @@ # rescue.py - anaconda rescue mode setup # # Mike Fulbright <msf@redhat.com> +# Jeremy Katz <katzj@redhat.com> # -# Copyright 2001-2003 Red Hat, Inc. +# Copyright 2001-2004 Red Hat, Inc. # # This software may be freely redistributed under the terms of the GNU # library public license. @@ -350,6 +351,9 @@ def runRescue(instPath, mountroot, id): except: log("Error enabling swap") + # now that dev is udev, bind mount the installer dev there + isys.mount("/dev", "/mnt/sysimage/dev", bindMount = 1) + # set a library path to use mounted fs os.environ["LD_LIBRARY_PATH"] = "/lib:/usr/lib:/usr/X11R6/lib:/lib:/mnt/usr/lib:/mnt/sysimage/lib:/mnt/sysimage/usr/lib:/mnt/sysimage/usr/X11R6/lib" |