1 |
slords |
1.1 |
Index: rescue.py |
2 |
|
|
=================================================================== |
3 |
|
|
RCS file: /usr/local/CVS/anaconda/rescue.py,v |
4 |
|
|
retrieving revision 1.59.2.5 |
5 |
|
|
retrieving revision 1.59.2.6 |
6 |
|
|
diff -u -r1.59.2.5 -r1.59.2.6 |
7 |
|
|
--- rescue.py 13 Sep 2006 14:06:56 -0000 1.59.2.5 |
8 |
|
|
+++ rescue.py 28 Mar 2007 17:34:52 -0000 1.59.2.6 |
9 |
|
|
@@ -18,6 +18,7 @@ |
10 |
|
|
from snack import * |
11 |
|
|
from constants_text import * |
12 |
|
|
from text import WaitWindow, OkCancelWindow, ProgressWindow, stepToClasses |
13 |
|
|
+from flags import flags |
14 |
|
|
import sys |
15 |
|
|
import os |
16 |
|
|
import isys |
17 |
|
|
@@ -368,9 +369,9 @@ |
18 |
|
|
isys.mount("/dev", "/mnt/sysimage/dev", bindMount = 1) |
19 |
|
|
|
20 |
|
|
# and /selinux too |
21 |
|
|
- if flags.selinux and os.path.isdir("%s/selinux" %(anaconda.rootPath,)): |
22 |
|
|
+ if flags.selinux and os.path.isdir("%s/selinux" %(instPath,)): |
23 |
|
|
try: |
24 |
|
|
- isys.mount("/selinux", "%s/selinux" %(anaconda.rootPath,), |
25 |
|
|
+ isys.mount("/selinux", "%s/selinux" %(instPath,), |
26 |
|
|
"selinuxfs") |
27 |
|
|
except Exception, e: |
28 |
|
|
log.error("error mounting selinuxfs: %s" %(e,)) |
29 |
|
|
|