Subversion Repositories SvarDOS

Rev

Rev 196 | Rev 204 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 196 Rev 198
Line 76... Line 76...
76
  mformat -C -f $1 -v SVARDOS -B "$CUSTFILES/floppy.mbr" -i "$1/1.img"
76
  mformat -C -f $1 -v SVARDOS -B "$CUSTFILES/floppy.mbr" -i "$1/1.img"
77
  mcopy -sQm -i "$1/1.img" "$FLOPROOT/"* ::/
77
  mcopy -sQm -i "$1/1.img" "$FLOPROOT/"* ::/
78
 
78
 
79
  # now populate the floppies
79
  # now populate the floppies
80
  curdisk=1
80
  curdisk=1
81
  for p in $CDROOT/*.zip ; do
81
  for p in $COREPKGS ; do
82
    # if copy fails, then probably the floppy is full - try again after
82
    # if copy fails, then probably the floppy is full - try again after
83
    # creating an additional floppy image
83
    # creating an additional floppy image
84
    if ! mcopy -mi "$1/$curdisk.img" "$p" ::/ ; then
84
    if ! mcopy -mi "$1/$curdisk.img" "$CDROOT/$p.zip" ::/ ; then
85
      curdisk=$((curdisk+1))
85
      curdisk=$((curdisk+1))
86
      mformat -C -f $1 -v SVARDOS -i "$1/$curdisk.img"
86
      mformat -C -f $1 -v SVARDOS -i "$1/$curdisk.img"
87
      mcopy -mi "$1/$curdisk.img" "$p" ::/
87
      mcopy -mi "$1/$curdisk.img" "$CDROOT/$p.zip" ::/
88
    fi
88
    fi
89
  done
89
  done
90
 
90
 
91
  # zip the images (and remove them at the same time)
91
  # zip the images (and remove them at the same time)
92
  rm -f "$PUBDIR/svardos-floppy-$1k.zip"
92
  rm -f "$PUBDIR/svardos-floppy-$1k.zip"