Changeset 2460 in MondoRescue for branches/2.2.10/mindi/mindi
- Timestamp:
- Oct 9, 2009, 3:18:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/mindi
r2451 r2460 58 58 PCMCIA_MODS="pcmcia_core ds yenta_socket" 59 59 USB_MODS="usb-storage usb-ohci usb-uhci usbcore usb_storage input hid uhci_hcd ehci_hcd uhci-hcd ehci-hcd ohci-hcd ohci_hcd usbkbd usbhid keybdev mousedev libusual scsi_mod ff-memless" 60 NET_MODS="auth_rpcgss sunrpc nfs nfs_acl lockd fscache loop mii 3c59x e100 bcm5700 bnx2 bnx2x e1000 e1000e igb eepro100 ne2k-pci tg3 libphy pcnet32 8139cp 8139too 8390 forcedeth vmxnet vmnet exportfs fuse "60 NET_MODS="auth_rpcgss sunrpc nfs nfs_acl lockd fscache loop mii 3c59x e100 bcm5700 bnx2 bnx2x e1000 e1000e igb eepro100 ne2k-pci tg3 libphy pcnet32 8139cp 8139too 8390 forcedeth vmxnet vmnet exportfs fuse libcrc32c" 61 61 CDROM_MODS="$TAPE_MODS $IDE_MODS $USB_MODS $PCMCIA_MODS $SCSI_MODS $NET_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_base nls_cp437 nls_utf8 sg sr_mod zlib_inflate iso9660" 62 62 # Those modules will only go on the backup media, not the boot media. … … 98 98 ISO_CMD="/usr/bin/mkisofs" 99 99 ISO_OPT="-J -r -v -p Mindi -publisher http://www.mondorescue.org -A Mindi" 100 101 # Mandriva system e.g. use cdrkit, which uses genisoimage instead of mkisofs. 102 # However, they use exactly the same command line parameters, so just 103 # use genisoimage if it's available. 104 if [ ! -x $ISO_CMD ]; then 105 ISO_CMD=/usr/bin/genisoimage 106 fi 100 107 101 108 # Now we can create what we need … … 977 984 useless_dev="/dev/floppy /dev/fd0h1440 /dev/fd0H1440 /dev/cdrom /dev/cdrom/cdrom /dev/cdrom/cdrom1 /dev/cdrom/cdrom2 /dev/cdrom0 /dev/cdrom1 /dev/cdrom2 /dev/cdrom3 /dev/cdrw /dev/scd /dev/ram :/ /dev/sr0 /dev/sr1 /dev/cdrom1" 978 985 for c_p in $all_partitions ; do 979 [ "`echo "$useless_dev" | grep -F "$c_p"`" != "" ] || [ "`echo "$c_p" | grep ":"`" != "" ] && continue 986 # Skip evices, network FS, cisf 987 [ "`echo "$useless_dev" | grep -F "$c_p"`" != "" ] || [ "`echo "$c_p" | grep ":"`" != "" ] || [ "`echo "$c_p" | grep -E "^//"`" != "" ]&& continue 980 988 [ "`echo "$c_p" | grep -x "/dev/cdroms.*"`" ] && continue 981 989 if [ -h "$c_p" ] && [ "`echo "$c_p" | grep -F "/dev/hd"`" = "" ] && [ "`echo "$c_p" | grep -F "/dev/sd"`" = "" ] && [ "`echo "$c_p" | grep -F "/dev/md"`" = "" ] ; then … … 1323 1331 OfferToMakeBootableISO() { 1324 1332 local i old_pwd 1333 if [ -z "$ISO_CMD" ]; then 1334 LogIt "Neither mkisofs nor genisoimage found, unable to make CD image" 1335 return 1336 fi 1325 1337 if [ "$PROMPT_MAKE_CD_IMAGE" = "yes" ] && [ _"$MONDO_SHARE" = _"" ]; then 1326 1338 echo -en "Shall I make a bootable CD image? (y/[n]) " … … 2656 2668 fi 2657 2669 2670 # Check for ISO_CMD command 2671 if [ ! -x $ISO_CMD ]; then 2672 echo "NOTE: No CD image (ISO file) utility found" >> $LOGFILE 2673 fi 2674 2658 2675 FLOPPY_WAS_MOUNTED="" 2659 2676 for mtpt in /media/floppy /mnt/floppy /floppy ; do
Note:
See TracChangeset
for help on using the changeset viewer.