diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-07-24 05:36:49 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-07-24 05:36:49 +0000 |
commit | 6f9a1b80d428cb9dc4a2e3bb9daab64f445779f1 (patch) | |
tree | 9c3ebb74c5ef7439202d3b4b421040e7e73f0fa5 | |
parent | ab6116821b6dc3b47471e830b4df87c23ca3a41a (diff) | |
download | anaconda-6f9a1b80d428cb9dc4a2e3bb9daab64f445779f1.tar.gz anaconda-6f9a1b80d428cb9dc4a2e3bb9daab64f445779f1.tar.xz anaconda-6f9a1b80d428cb9dc4a2e3bb9daab64f445779f1.zip |
hacks for the comps rpm package
-rwxr-xr-x | scripts/splitdistro | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/splitdistro b/scripts/splitdistro index 8ff40cf7f..ddfa8938b 100755 --- a/scripts/splitdistro +++ b/scripts/splitdistro @@ -7,11 +7,15 @@ disc2dirs = [ "preview" ] jointfiles = [ "beta_eula.txt", "RPM-GPG-KEY", "README", "autorun", "GPL", "EULA"] -targetSize = 650 * 1024.0 * 1024.0 +targetSize = 648 * 1024.0 * 1024.0 # Leave about 1.2MB of space on the disc fudgeFactor = 1.2 * 1024 * 1024 +# rough estimate of the size of the comps package -- we don't create it +# until after we run splitdistro but need to leave room for it on CD1 +compsSize = 10.0 * 1024 * 1024 + #----------------- import sys @@ -193,7 +197,7 @@ for file in jointfiles: linkFile(disc1Dir, disc2Dir, file) disc2pkgs = excessFiles(distDir + "/RedHat/RPMS", binPkgList, - targetSize - disc1used - fudgeFactor) + targetSize - disc1used - fudgeFactor - compsSize) moveFiles("%s/RedHat/RPMS" % disc1Dir, "%s/RedHat/RPMS" % disc2Dir, |