SOURCES: anaconda-pld.patch - fix path to anaconda so it can be in...

glen glen at pld-linux.org
Wed May 24 19:55:18 CEST 2006


Author: glen                         Date: Wed May 24 17:55:18 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix path to anaconda so it can be invoked as syslogd

---- Files affected:
SOURCES:
   anaconda-pld.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/anaconda-pld.patch
diff -u SOURCES/anaconda-pld.patch:1.3 SOURCES/anaconda-pld.patch:1.4
--- SOURCES/anaconda-pld.patch:1.3	Wed May 24 19:02:49 2006
+++ SOURCES/anaconda-pld.patch	Wed May 24 19:55:13 2006
@@ -146,3 +146,19 @@
                      "--run", "--chunk=%s" %(self.chunksize,),
                      "--level=%s" %(self.level,),
                      "--raid-devices=%s" %(self.numDisks,)]
+--- anaconda-11.0.5/syslogd.py~	2005-08-12 20:02:54.000000000 +0300
++++ anaconda-11.0.5/syslogd.py	2006-05-24 20:53:09.758604131 +0300
+@@ -77,10 +77,10 @@
+             if not path:
+                 if os.access ("./anaconda", os.X_OK):
+                     path = "./anaconda"
+-                elif os.access ("/usr/bin/anaconda.real", os.X_OK):
+-                    path = "/usr/bin/anaconda.real"
++                elif os.access ("/usr/sbin/anaconda.real", os.X_OK):
++                    path = "/usr/sbin/anaconda.real"
+                 else:
+-                    path = "/usr/bin/anaconda"
++                    path = "/usr/sbin/anaconda"
+                     
+             os.execv (path, ("syslogd", "--syslogd", root, log))
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/anaconda-pld.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list