SOURCES: python-booty-pld.patch - add initrd even if file is absent - rel 2

patrys patrys at pld-linux.org
Sun Aug 31 00:10:03 CEST 2008


Author: patrys                       Date: Sat Aug 30 22:10:03 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add initrd even if file is absent
- rel 2

---- Files affected:
SOURCES:
   python-booty-pld.patch (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/python-booty-pld.patch
diff -u SOURCES/python-booty-pld.patch:1.5 SOURCES/python-booty-pld.patch:1.6
--- SOURCES/python-booty-pld.patch:1.5	Fri Dec 14 15:35:49 2007
+++ SOURCES/python-booty-pld.patch	Sun Aug 31 00:09:57 2008
@@ -24,3 +24,24 @@
 +    return "PLD Linux"
          
              
+--- booty-0.93/booty.py~	2007-12-07 19:19:40.000000000 +0100
++++ booty-0.93/booty.py	2008-08-31 00:01:20.375418616 +0200
+@@ -194,9 +194,6 @@
+         
+         initrd = makeInitrd("-%s" % (newVersion,), "/")
+ 
+-        if not os.access(initrd, os.R_OK):
+-            initrd = None
+-
+         if imageType and imageType != defaultType:
+             # linux-smp.linux-BOOT, etc
+             label = "linux-"+imageType
+@@ -276,7 +273,7 @@
+     if rhpl.getArch() == 'ia64':
+         initrd = "/boot/efi/EFI/redhat/initrd%s.img" % (kernelTag, )
+     else:
+-        initrd = "/boot/initrd%s.img" % (kernelTag, )
++        initrd = "/boot/initrd%s.gz" % (kernelTag, )
+ 
+     return initrd
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/python-booty-pld.patch?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list