source: MondoRescue/branches/2.2.9/contrib/mkcd/make-CD@ 3320

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
  • Property svn:executable set to *
File size: 1014 bytes
Line 
1#!/bin/sh
2
3if [ ! -e "setup" ] || [ ! -e "TGZS" ] || [ ! -e "SRPMS" ] ; then
4 echo "You're in the wrong directory."
5 exit 1
6fi
7rm -f mindi-[0-1]*tgz
8rm -f mondo-[1-2]*tgz
9
10set -e
11cp -f /root/images/mindi/mindi-boot.2880.img images
12for i in mondoarchive mondorestore mindi ; do
13 if which $i 2> /dev/null ; then
14 cp -f `which $i` stuff
15 fi
16done
17cp -f /usr/local/mindi-kernel-1.x/mindi-kernel-1.0-1.i386.rpm /home/MondoCD/RPMS/
18cp -f /usr/local/mindi-kernel-1.x/mindi-kernel-1.0.tgz /home/MondoCD/TGZS/
19
20rm -Rf /home/MondoCD/documentation/1.6x-howto
21cp -pRdf /mnt/winB/mondorescue/docs/1.6x-howto /home/MondoCD/documentation
22# -b images/mindi-boot.2880.img
23mkisofs -c boot.cat -b memtest.img -J -r \
24-p MondoRescue -P www.microwerks.net/~hugo/ -A Mondo_Rescue_GPL_Version \
25. > /tmp/out.iso
26dev=`cdrecord -scanbus | grep "CD-ROM" | grep -v "DVD" | tr -s '\t' ' ' | cut -d' ' -f2`
27cdrecord dev=$dev speed=10 blank=fast -eject -v /tmp/out.iso || \
28cdrecord dev=$dev speed=24 -eject -v /tmp/out.iso
29exit $?
Note: See TracBrowser for help on using the repository browser.