kadischi/livecd_generator kadischi.py,1.19,1.20
Jasper O'neal Hartline (autopsy)
fedora-extras-commits at redhat.com
Tue Jul 4 13:04:15 UTC 2006
Author: autopsy
Update of /cvs/devel/kadischi/livecd_generator
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23438/kadischi/livecd_generator
Modified Files:
kadischi.py
Log Message:
Be more accurate about observed SquashFS compression ratio
Index: kadischi.py
===================================================================
RCS file: /cvs/devel/kadischi/livecd_generator/kadischi.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- kadischi.py 3 Jul 2006 21:50:10 -0000 1.19
+++ kadischi.py 4 Jul 2006 13:04:08 -0000 1.20
@@ -222,7 +222,7 @@
###
-### Calculate size of result ISO image by known ratios for SquashFS (anywhere from 2.6 to 2.8)
+### Calculate size of result ISO image by known ratios for SquashFS (anywhere from 2.5 to 2.7)
size = 0
stepsize = 0
@@ -235,8 +235,8 @@
stepsize = (size + stepsize)
totalsize = stepsize
-estimate0 = (totalsize / 2.6) ## Observed ratio for SquashFS
-estimate1 = (totalsize / 2.8) ## Observed ratio for SquashFS
+estimate0 = (totalsize / 2.5) ## Observed ratio for SquashFS
+estimate1 = (totalsize / 2.7) ## Observed ratio for SquashFS
print ("Estimated %s size is between %s and %s bytes" % (isoimage, estimate1, estimate0))
More information about the fedora-extras-commits
mailing list