summaryrefslogtreecommitdiffstats
path: root/scripts/splitdistro
diff options
context:
space:
mode:
authortimp <timp>2002-11-18 16:59:39 +0000
committertimp <timp>2002-11-18 16:59:39 +0000
commita705ddcdf2ff8cdb5481adb31577b7867fd9e490 (patch)
tree30681bb89a7e7632f18c7537be3030106a8447ac /scripts/splitdistro
parent7daa532ddbe8454ee2a807f2b83772069b8b07c9 (diff)
downloadanaconda-a705ddcdf2ff8cdb5481adb31577b7867fd9e490.tar.gz
anaconda-a705ddcdf2ff8cdb5481adb31577b7867fd9e490.tar.xz
anaconda-a705ddcdf2ff8cdb5481adb31577b7867fd9e490.zip
fixed wong discinfo files being placed on discs 5 and 6, and no discinfo file on disc 4
Diffstat (limited to 'scripts/splitdistro')
-rwxr-xr-xscripts/splitdistro5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/splitdistro b/scripts/splitdistro
index 6f899bab6..69de6aadc 100755
--- a/scripts/splitdistro
+++ b/scripts/splitdistro
@@ -248,10 +248,11 @@ moveFiles("%s/RedHat/RPMS" % disc2Dir,
disc3used = spaceUsed(disc3Dir)
print "Creating first source disc..."
+stamp(disc1SrcDir, releasestr, "4", arch, startedAt, dirInfo)
os.system("cp -al %s %s" % (srcDir, disc1SrcDir))
print "Creating second source disc..."
-stamp(disc2SrcDir, releasestr, "4", arch, startedAt, dirInfo)
+stamp(disc2SrcDir, releasestr, "5", arch, startedAt, dirInfo)
srcPkgList = os.listdir("%s/SRPMS" % disc1SrcDir)
srcPkgList.sort()
@@ -265,7 +266,7 @@ moveFiles("%s/SRPMS" % disc1SrcDir,
srcDisc1Size = spaceUsed(disc1SrcDir)
print "Dropping remainder of sources on third disc..."
-stamp(disc3SrcDir, releasestr, "5", arch, startedAt, dirInfo)
+stamp(disc3SrcDir, releasestr, "6", arch, startedAt, dirInfo)
disc3pkgs = excessFiles(srcDir, srcPkgList,
srcDisc1Size + targetSize - fudgeFactor)
print "first src pkg to move to 3rd src cd is", disc3pkgs[0]