Patches to splitdistro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a patch to splitdistro that fixes several things:

- Remove the preview directory (not included in RH 7.3)
- Remove the beta.eula and replace with the real files
- Changes the max size of the discs from 640 to 650 (I live on the edge!)
- Remove the i386-disc3 directory (a must have if you run splitdistro more than once)

Forrest
--- anaconda-7.3.orig/scripts/splitdistro	Thu Mar 28 23:13:10 2002
+++ anaconda-7.3/scripts/splitdistro	Wed May  8 16:04:15 2002
@@ -1,12 +1,12 @@
 #!/usr/bin/python
 
 # These dirs, along with RPMS, make up disc 2
-disc2dirs = [ "preview" ]
+disc2dirs = [ "" ]
 
 # These files appear on all binary CDs
-jointfiles = [ "beta_eula.txt", "RPM-GPG-KEY", "README", "autorun" ]
+jointfiles = [ "EULA", "GPL", "RPM-GPG-KEY", "README", "autorun" ]
 
-targetSize = 640 * 1024.0 * 1024.0
+targetSize = 650 * 1024.0 * 1024.0
 
 # Leave about 1.2MB of space on the disc
 fudgeFactor = 1.2 * 1024 * 1024
@@ -163,7 +163,7 @@
 
 disc1used = totalsize - rpmsize - dirsize
 
-os.system("rm -rf %s %s %s %s" % ( disc1Dir, disc2Dir, disc1SrcDir,
+os.system("rm -rf %s %s %s %s %s" % ( disc1Dir, disc2Dir, disc3Dir, disc1SrcDir,
 				   disc2SrcDir))
 os.system("mkdir -p %s %s %s/SRPMS %s/RedHat/RPMS %s/RedHat/RPMS %s/SRPMS" % 
 	    (disc1Dir, disc1SrcDir, disc2SrcDir, disc2Dir, 

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux