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

Contents 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.2 - (show annotations) (download)
Sat Dec 1 03:37:30 2007 UTC (16 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import on branch sme7 of package anaconda-10.1.1.81-1.centos4.1.el4.sme.src.rpm

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