Subversion Repositories SvarDOS

Rev

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

Rev 836 Rev 838
Line 165... Line 165...
165
echo "### Creating floppy images"
165
echo "### Creating floppy images"
166
echo
166
echo
167
 
167
 
168
# build the boot (CD) floppy image
168
# build the boot (CD) floppy image
169
export MTOOLS_NO_VFAT=1
169
export MTOOLS_NO_VFAT=1
170
#mformat -C -f 2880 -v SVARDOS -B "$CUSTFILES/floppy.mbr" -i "$CDROOT/boot.img"
-
 
171
#mcopy -sQm -i "$CDROOT/boot.img" "$FLOPROOT/"* ::/
-
 
172
 
170
 
173
# prepare images for floppies in different sizes (args are C H S SIZE)
171
# prepare images for floppies in different sizes (args are C H S SIZE)
174
prep_flop 80 2 36 2880 "$CDROOT/boot.img"
172
prep_flop 80 2 36 2880 "$CDROOT/boot.img"
175
prep_flop 80 2 18 1440
173
prep_flop 80 2 18 1440
176
prep_flop 80 2 15 1200
174
prep_flop 80 2 15 1200
177
prep_flop 80 2  9  720
175
prep_flop 80 2  9  720
178
#prep_flop 96 64 32 98304 "$PUBDIR/svardos-zip100.img" # ZIP 100M (for USB boot in "USB-ZIP mode")
-
 
179
 
176
 
180
echo
177
echo
181
echo "### Computing DOSEMU.zip"
178
echo "### Computing DOSEMU.zip"
182
echo
179
echo
183
 
180
 
Line 249... Line 246...
249
done
246
done
250
 
247
 
251
# compress the USB image
248
# compress the USB image
252
zip -mj9 "$PUBDIR/svardos-$CURDATE-usb.zip" "$USBIMG"
249
zip -mj9 "$PUBDIR/svardos-$CURDATE-usb.zip" "$USBIMG"
253
 
250
 
254
# prepare the USB-ZIP bootable image
-
 
255
#USBZIPIMG=$PUBDIR/svardos-usbzip.img
-
 
256
#cat files/usb-zip.mbr "$PUBDIR/svardos-zip100.img" > $USBZIPIMG
-
 
257
 
-
 
258
echo
251
echo
259
echo "### Generating ISO CD image"
252
echo "### Generating ISO CD image"
260
echo
253
echo
261
 
254
 
262
CDISO="$PUBDIR/svardos-$CURDATE-cd.iso"
255
CDISO="$PUBDIR/svardos-$CURDATE-cd.iso"
263
CDZIP="$PUBDIR/svardos-$CURDATE-cd.zip"
256
CDZIP="$PUBDIR/svardos-$CURDATE-cd.zip"
264
 
257
 
265
# delete previous (if any) iso
-
 
266
#echo "cleaning up old versions..."
-
 
267
#rm -f "$CDISO" "$CDZIP"
-
 
268
 
-
 
269
$GENISOIMAGE -input-charset cp437 -b boot.img -iso-level 1 -f -V SVARDOS -o "$CDISO" "$CDROOT/boot.img"
258
$GENISOIMAGE -input-charset cp437 -b boot.img -iso-level 1 -f -V SVARDOS -o "$CDISO" "$CDROOT/boot.img"
270
 
259
 
271
# compress the ISO
260
# compress the ISO
272
zip -mj9 "$CDZIP" "$CDISO"
261
zip -mj9 "$CDZIP" "$CDISO"
273
 
262
 
Line 281... Line 270...
281
  rm -rf "$CDROOT" "$FLOPROOT"
270
  rm -rf "$CDROOT" "$FLOPROOT"
282
fi
271
fi
283
 
272
 
284
cd "$origdir"
273
cd "$origdir"
285
 
274
 
286
#cd svnlschk
-
 
287
#./webgen.sh
-
 
288
#cd ..
-
 
289
 
-
 
290
echo
275
echo
291
echo "### ALL DONE! ###"
276
echo "### ALL DONE! ###"
292
 
277
 
293
exit 0
278
exit 0