/[smeserver]/rpms/anaconda/sme7/anaconda-10.1.1.63-selinuxrescuemount.patch
ViewVC logotype

Annotation of /rpms/anaconda/sme7/anaconda-10.1.1.63-selinuxrescuemount.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 14:39:14 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: anaconda-10_1_1_63-4_centos4_1_el4_sme
Import on branch sme7 of package anaconda-10.1.1.63-4.centos4.1.el4.sme.src.rpm

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    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed