Changeset 1079 in MondoRescue for trunk/mindi/mindi
- Timestamp:
- Jan 28, 2007, 5:58:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mindi/mindi
r1043 r1079 36 36 37 37 MINDI_CONFIG_DIST="$MINDI_CONF/mindi.conf.dist" 38 if [ ! -f $MINDI_CONFIG_CONF ]; then 39 echo "Unable to find $MINDI_CONFIG_CONF. Please reinstall mindi" 40 MindiExit -1 38 if [ ! -f $MINDI_CONFIG_DIST ]; then 39 echo "Unable to find $MINDI_CONFIG_DIST. Please reinstall mindi" 40 exit -1 41 fi 42 md5sum --status -c "$MINDI_CONF/mindi.conf.dist.md5" 43 if [ $? -ne 0 ]; then 44 echo "$MINDI_CONF/mindi.conf.dist md5 checksum incorrect. Please reinstall mindi" 45 exit -1 41 46 fi 42 47 . $MINDI_CONFIG_DIST … … 53 58 # Manages defaults coming from conf files 54 59 # 55 EXTRA_SPACE=$mindi_extra_space56 IA64_BOOT_SIZE=$mindi_ia64_boot_size57 DEPLIST_DIR="$mindi_deplist_dir"58 # TBC59 WRITE_BOOT_FLOPPIES="$mindi_write_boot_floppy"60 # TBC61 WRITE_MINDI_CD="$mindi_write_cd"62 # TBC63 CACHE_LOC="$mindi_images_dir"64 FORCE_DUAL_FLOPPIES="$mindi_dual_floppies"65 TMP_ROOT="$mindi_tmp_dir"66 FDDEVICE="$mindi_fd_device"67 ADDITIONAL_BOOT_PARAMS="$mindi_boot_params"68 MY_FSTAB="$mindi_etc_fstab"69 LOGFILE="$mindi_log_file"70 60 INTERACTIVE="$mindi_interactive" 71 61 … … 80 70 PROMPT_MAKE_CD_IMAGE="yes" 81 71 72 # Ask if you want to make a USB Image to be written? 73 # if this is set to 'no', then the image will be created automatically 74 PROMPT_MAKE_USB_IMAGE="yes" 75 82 76 # If set to "no", you will be prompted for whether or not 83 77 # you want to use your own kernel, or the supplied default. 84 78 # If "yes" mindi will automatically use your own kernel. 85 79 USE_OWN_KERNEL="no" 86 else87 PROMPT_WRITE_BOOT_FLOPPIES="no"88 PROMPT_MAKE_CD_IMAGE="no"89 USE_OWN_KERNEL="yes"90 80 fi 91 81 92 FLOPPY_MODS="ide-floppy floppy" 93 TAPE_MODS="ht st osst ide-tape ide_tape" 94 SCSI_MODS="3w-xxxx 53c7,8xx a100u2w a320raid aacraid advansys aha152x aha1542 aha1740 aic79xx aic79xx_mod aic7xxx aic7xxx_mod aic7xxx_old AM53C974 atp870u BusLogic cciss cpqfc dmx3191d dpt_i2o dtc eata eata_dma eata_pio fdomain gdth g_NCR5380 i2o_block i2o_core ide-scsi ieee1394 imm in2000 initio ips iscsi isp megaraid mptbase mptscsih NCR53c406a ncr53c8xx nsp32 pas16 pci2000 pci2220i pcmcia ppa psi240i qla1280 qla2200 qla2300 qlogicfas qlogicfc qlogicisp raw1394 scsi_debug scsi_mod sd_mod seagate sg sim710 sr_mod sym53c416 sym53c8xx sym53c8xx_2 t128 tmscsim u14-34f ultrastor wd7000 vmhgfs" 95 IDE_MODS="ide ide-generic ide-detect ide-mod ide-disk ide-cd ide_cd ide-cs ide-core ide_core libata edd paride ata_piix libata via82cxxx generic nvidia ahci" 96 PCMCIA_MODS="pcmcia_core ds yenta_socket" 97 USB_MODS="usb-storage usb-ohci usb-uhci usbcore usb_storage hid uhci_hcd ehci_hcd uhci-hcd ehci-hcd usbkbd usbhid" 98 CDROM_MODS="$TAPE_MODS $FLOPPY_MODS $IDE_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_cp437 sg sr_mod zlib_inflate $USB_MODS $PCMCIA_MODS" 99 NET_MODS="sunrpc nfs nfs_acl lockd loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet" 100 NET_MODS="sunrpc nfs nfs_acl lockd loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet" 101 EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid5 lvm-mod dm-mod dm-snapshot dm-zero dm-mirror jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache" 82 EXTRA_SPACE=$mindi_extra_space 83 IA64_BOOT_SIZE=$mindi_ia64_boot_size 84 DEPLIST_DIR="$MINDI_CONF/deplist.d" 85 DEPLIST_FILE="$MINDI_CONF/$mindi_deplist_file" 86 WRITE_BOOT_FLOPPIES="$mindi_write_boot_floppy" 87 PROMPT_MAKE_CD_IMAGE="$mindi_write_cd" 88 PROMPT_MAKE_USB_IMAGE="$mindi_write_usb" 89 USE_OWN_KERNEL="$mindi_use_own_kernel" 90 CACHE_LOC="$mindi_images_dir" 91 FORCE_DUAL_FLOPPIES="$mindi_dual_floppies" 92 TMPDIR="$mindi_tmp_dir" 93 FDDEVICE="$mindi_fd_device" 94 ADDITIONAL_BOOT_PARAMS="$mindi_boot_params" 95 MY_FSTAB="$mindi_etc_fstab" 96 LOGFILE="$mindi_log_file" 97 FLOPPY_MODS="$mindi_floppy_mods" 98 TAPE_MODS="$mindi_tape_mods" 99 SCSI_MODS="$mindi_scsi_mods" 100 IDE_MODS="$mindi_ide_mods" 101 PCMCIA_MODS="$mindi_pcmcia_mods" 102 USB_MODS="$mindi_usb_mods" 103 CDROM_MODS="$TAPE_MODS $FLOPPY_MODS $IDE_MODS $mindi_cdrom_mods $USB_MODS $PCMCIA_MODS" 104 NET_MODS="$mindi_net_mods" 105 EXTRA_MODS="$CDROM_MODS $mindi_extra_mods $mindi_additional_mods" 102 106 103 107 BOOT_MEDIA_MESSAGE="$mindi_boot_msg" 104 108 FDISK=$MINDI_SBIN/parted2fdisk 105 106 # Using a config file allow to overwrite some values107 MINDI_CONFIG="$MINDI_CONF/mindi.conf"108 if [ -f $MINDI_CONFIG ]; then109 . $MINDI_CONFIG110 fi111 109 112 110 # Now we can create what we nedd … … 215 213 echo "Added kbd map $mappath" >> $LOGFILE 216 214 if [ ! -e "$mappath" ] ; then 217 mappath=`find $KEYDIR/keymaps | grep "i[3-8]86"| grep "$locale[^r][^/]" | grep -vx " *#.*"`215 mappath=`grep "i[3-8]86" $MINDI_TMP/keymaps.find | grep "$locale[^r][^/]" | grep -vx " *#.*"` 218 216 if [ ! -e "$mappath" ] ; then 219 217 LogIt "Cannot add $mappath: kbd map file not found" … … 233 231 for included_item in $included_list ; do 234 232 if [ ! -e "$included_item" ] ; then 235 sss=`find $KEYDIR/keymaps | grep -F "${included_item}.inc"`236 [ "$sss" = "" ] && sss=` find $KEYDIR/keymaps | grep -F "$included_item"`233 sss=`grep -F "${included_item}.inc" $MINDI_TMP/keymaps.find` 234 [ "$sss" = "" ] && sss=`grep -F "$included_item" $MINDI_TMP/keymaps.find` 237 235 for ii in $sss ; do 238 236 [ -e "$ii" ] && AddKeyboardMappingFile $ii … … 252 250 biggienumber=$4 253 251 254 [ -d "$filename" ] && Die "Cannot chop up $filename: it's a directory. Please amend deplist fileaccordingly."252 [ -d "$filename" ] && Die "Cannot chop up $filename: it's a directory. Please amend $DEPLIST_FILE accordingly." 255 253 mkdir -p $outdir 256 254 … … 411 409 mkdir -p $mountpoint 412 410 dd if=/dev/zero of=$imagefile bs=1k count=1440 &> /dev/null || LogIt "Cannot dd (CODI)" 411 echo "Creating ext2 filesystem on $imagefile" >> $LOGFILE 413 412 mke2fs -N 12 -F $imagefile >> $LOGFILE 2>> $LOGFILE 414 413 mount -t ext2 -o loop $imagefile $mountpoint || Die "Can't loopmount $imagefile to $mountpoint! The reason may be missing support for loopfs or ext2 (or both) in the running kernel." … … 416 415 if [ "$?" -ne "0" ] ; then 417 416 umount $mountpoint 418 Die "Tarball $tarball is too big for disk! (CODI)\n Tell Dev Team to adjust MAX_COMPRESSED_SIZE"417 Die "Tarball $tarball is too big for disk! (CODI)\nAdjust mindi_max_compressed_size in your $MINDI_CONFIG" 419 418 fi 420 419 [ "$diskno" -eq "$noof_disks" ] && echo "This is the last disk ($diskno=$noof_disks)" >> $mountpoint/LAST-DISK 421 420 umount $mountpoint || LogIt "Cannot umount (CODI)" 422 421 rmdir $mountpoint || LogIt "Cannot rmdir (CODI)" 423 }424 425 426 DidMondoCallMe() {427 local res428 429 res=0430 [ "`ps ax | grep -F "mondoarchive" | grep -v "grep"`" ] && res=$(($res+1))431 [ -f "/var/run/monitas-mondo.pid" ] && res=$(($res+1))432 [ "$res" -gt "1" ] && echo "yes"433 422 } 434 423 … … 463 452 464 453 # Creates a tar file containing all required files 465 for i in /etc/fstab/etc/lilo.conf /etc/raidtab $LOGFILE /var/log/mondo-archive.log ; do454 for i in $MY_FSTAB /etc/lilo.conf /etc/raidtab $LOGFILE /var/log/mondo-archive.log ; do 466 455 [ -e "$i" ] && cp -f $i $MINDI_TMP 2>> $LOGFILE 467 456 done … … 557 546 [ ! "$locale" ] && locale=`grep '.map$' "$keyfile" | sed 's/^.* //'` # Slackware 558 547 echo "locale=$locale" >> $LOGFILE 559 mp=`find $KEYDIR/keymaps | grep "i[3-8]86" | grep -F "/${locale}." | grep -vx " *#.*"` 560 [ ! "$mp" ] && mp=`find $KEYDIR/keymaps | grep "i[3-8]86" | grep "$locale[^r][^/]" | grep -vx " *#.*"` 548 # 549 # Process the keymaps dir once for all 550 # AddKeyboardMappingFile will use it recursively 551 # 552 find $KEYDIR/keymaps > $MINDI_TMP/keymaps.find 553 mp=`grep "i[3-8]86" $MINDI_TMP/keymaps.find | grep -F "/${locale}." | grep -vx " *#.*"` 554 [ ! "$mp" ] && mp=`grep "i[3-8]86" $MINDI_TMP/keymaps.find | grep "$locale[^r][^/]" | grep -vx " *#.*"` 561 555 # If we have multiple keymaps then log it !! 562 556 echo "$mp" | grep -q " " … … 773 767 [ "$modres" -eq "3" ] && echo -en "\t|" 774 768 done 775 if [ "`DidMondoCallMe`" ]; then769 if [ _"$MONDO_SHARE" != _"" ]; then 776 770 mkdir -p $bigdir/tmp 777 771 mkdir -p $bigdir/sbin … … 962 956 echo "Problem with dead link on $file -> $link" >> $LOGFILE 963 957 fi 964 if [ "`echo $link | cut -c1`" = "/" ]; then 965 echo "$link `ReadAllLink $link`" 966 else 967 d=`dirname $file` 968 echo "$link `ReadAllLink $d/$link`" 969 fi 958 if [ -h "$d" ]; then 959 echo "$link $d" 960 else 961 echo "$link" 962 fi 970 963 } 971 964 … … 1252 1245 current_partition=$actual_dev 1253 1246 else 1254 Die "Your system uses a LABEL partition ($current_partition), but you lack the tool to support it.\nPlease replace labels with their correct devices in /etc/fstabor install findfs|blkid|vol_id"1247 Die "Your system uses a LABEL partition ($current_partition), but you lack the tool to support it.\nPlease replace labels with their correct devices in $MY_FSTAB or install findfs|blkid|vol_id" 1255 1248 fi 1256 1249 # This part tries to retrieve the correct device from a UUID line in /etc/fstab … … 1300 1293 current_partition=$actual_dev 1301 1294 else 1302 Die "Your system uses a UUID partition ($current_partition), but you lack the tool to support it.\nPlease replace labels with their correct devices in /etc/fstabor install findfs|blkid|vol_id"1295 Die "Your system uses a UUID partition ($current_partition), but you lack the tool to support it.\nPlease replace labels with their correct devices in $MY_FSTAB or install findfs|blkid|vol_id" 1303 1296 fi 1304 1297 else … … 1530 1523 OfferToMakeBootableISO() { 1531 1524 local i old_pwd 1532 if [ "$PROMPT_MAKE_CD_IMAGE" = "yes" ] && [ ! "`DidMondoCallMe`" ]; then1525 if [ "$PROMPT_MAKE_CD_IMAGE" = "yes" ] && [ _"$MONDO_SHARE" = _"" ]; then 1533 1526 echo -en "Shall I make a bootable CD image? (y/[n]) " 1534 1527 read i … … 1536 1529 fi 1537 1530 if [ ! "$MINDI_TMP" ] ; then 1538 LogIt "NB: Mindi's bootable CD always uses isolinux ."1531 LogIt "NB: Mindi's bootable CD always uses isolinux or elilo." 1539 1532 LogIt "For a bootable CD w/LILO, please use Mondo." 1540 1533 fi … … 1552 1545 cp -f $j $k 2> /dev/null || Die "Failed to copy $j to $k" 1553 1546 cp -f $j $MINDI_TMP 2> /dev/null || Die "Failed to copy $j to $MINDI_TMP" 1554 cp -f $j $MONDO_ROOT 2>> $LOGFILE || Die "Failed to copy $j to $MONDO_ROOT" 1547 if [ _"$MONDO_SHARE" != _"" ]; then 1548 cp -f $j $MONDO_ROOT 2>> $LOGFILE || Die "Failed to copy $j to $MONDO_ROOT" 1549 fi 1555 1550 fi 1556 1551 done 1557 1552 MakeSyslinuxMessageFile $MINDI_TMP/iso/isolinux/message.txt 1558 cp $kernelpath $MINDI_TMP/iso/isolinux/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mondo root ($MINDI_TMP/iso/isolinux/vmlinuz). Did you run out of disk space?" 1559 cp $kernelpath $MONDO_ROOT/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mondo root ($MONDO_ROOT/vmlinuz). Did you run out of disk space?" 1553 cp $kernelpath $MINDI_TMP/iso/isolinux/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mindi tmp ($MINDI_TMP/iso/isolinux/vmlinuz). Did you run out of disk space?" 1560 1554 cp $MINDI_TMP/mindi.rdz $MINDI_TMP/iso/isolinux/initrd.img 2>> $LOGFILE 1561 cp $MINDI_TMP/mindi.rdz $MONDO_ROOT/initrd.img 2>> $LOGFILE 1555 if [ _"$MONDO_SHARE" != _"" ]; then 1556 cp $kernelpath $MONDO_ROOT/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mondo root ($MONDO_ROOT/vmlinuz). Did you run out of disk space?" 1557 cp $MINDI_TMP/mindi.rdz $MONDO_ROOT/initrd.img 2> /dev/null || Die "Cannot copy mindi.rdz ($MINDI_TMP/mindi.rdz) to mondo root ($MONDO_ROOT/vmlinuz). Did you run out of disk space?" 1558 1559 fi 1562 1560 [ -e "$iso_cfg_file" ] || Die "FIXME - unable to find $iso_cfg_file - this should never occur" 1563 1561 cd $MINDI_TMP/iso/isolinux 1564 cat $iso_cfg_file | HackSyslinuxFile $ramdisk_size $MINDI_TMP/iso > isolinux.cfg || Die "Cannot copy isolinux.cfg from mindi_home to tmp_root- did you run out of disk space?"1562 cat $iso_cfg_file | HackSyslinuxFile $ramdisk_size $MINDI_TMP/iso > isolinux.cfg || Die "Cannot copy isolinux.cfg to $MINDI_TMP/iso/isolinux - did you run out of disk space?" 1565 1563 if [ -e "$MINDI_TMP/NFS-DEV" ] ; then 1566 mv isolinux.cfg isolinux.cfg.old 1567 sed s/interactive/iso/ isolinux.cfg.old > isolinux.cfg 1564 perl -pi -e 's/interactive/iso/' isolinux.cfg 1568 1565 fi 1569 1566 if [ "$ARCH" != "ia64" ] ; then 1570 cp $ISOLINUX isolinux.bin 2> /dev/null || Die "Cannot copy isolinux.bin ($ISOLINUX) to tmp_root- did you run out of disk space?"1567 cp $ISOLINUX isolinux.bin 2> /dev/null || Die "Cannot copy isolinux.bin ($ISOLINUX) to $MINDI_TMP/iso/isolinux - did you run out of disk space?" 1571 1568 cp $ISOLINUX ../ 2>> $LOGFILE 1572 1569 fi 1573 1570 cd $MINDI_TMP/iso 1574 1571 if [ "$ARCH" != "ia64" ] ; then 1575 cp -f $MINDI_TMP/iso/isolinux/{isolinux.cfg,initrd.img,vmlinuz,isolinux.bin,message.txt} $MONDO_ROOT 2> /dev/null || Die "Cannot copy core files to ramdisk for boot disk. Did you run out of disk space?"1576 fi1577 [ "$MONDO_SHARE" ] && cp -f $MONDO_SHARE/autorun .2>> $LOGFILE1578 if [ "$ARCH" != "ia64" ] ; then1572 if [ _"$MONDO_SHARE" != _"" ]; then 1573 cp -f $MINDI_TMP/iso/isolinux/{isolinux.cfg,initrd.img,vmlinuz,isolinux.bin,message.txt} $MONDO_ROOT 2> /dev/null || Die "Cannot copy core files to ramdisk for boot disk (under $MONDO_ROOT). Did you run out of disk space?" 1574 cp -f $MONDO_SHARE/autorun . 2>> $LOGFILE 1575 fi 1579 1576 mkisofs -U -J -r -o $CACHE_LOC/mindi.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table . > /dev/null 2> $MINDI_TMP/mkisofs.log 1580 1577 else … … 1595 1592 1596 1593 1594 OfferToMakeBootableUSB() { 1595 local i old_pwd 1596 if [ "$PROMPT_MAKE_USB_IMAGE" = "yes" ] && [ _"$MONDO_SHARE" = _"" ]; then 1597 echo "Shall I make a bootable USB image ?" 1598 echo -en "WARNING: This will erase all content on $USBDEV (y/[n]) " 1599 read i 1600 [ "$i" != "y" ] && [ "$i" != "Y" ] && return 0 1601 fi 1602 rm -Rf $MINDI_TMP/usb 1603 mkdir -p $MINDI_TMP/usb 1604 USBPART="${USBDEV}1" 1605 1606 echo -en "Transforming $USBDEV in a Bootable device " 1607 echo -en "." 1608 echo "Transforming $USBDEV in a Bootable device" >> $LOGFILE 1609 echo "Checking $USBDEV" >> $LOGFILE 1610 $FDISK -l $USBDEV 2>&1 >> $LOGFILE 1611 if [ $? -ne 0 ]; then 1612 echo "Unable to access $USBDEV" | tee -a $LOGFILE 1613 echo "Make sure your USB device is pluged in" | tee -a $LOGFILE 1614 MindiExit -1 1615 fi 1616 echo -en "." 1617 echo "Erasing $USBDEV" >> $LOGFILE 1618 $FDISK $USBDEV 2>&1 >> $LOGFILE << EOF 1619 d 1620 d 1621 d 1622 d 1623 n 1624 p 1625 1 1626 1627 1628 t 1629 b 1630 a 1631 1 1632 w 1633 EOF 1634 if [ $? -ne 0 ]; then 1635 echo "Unable to create a vfat Filesystem on $USBDEV" | tee -a $LOGFILE 1636 echo "Make sure your USB device is pluged in" | tee -a $LOGFILE 1637 $FDISK -l $USBDEV 2>&1 | tee -a $LOGFILE 1638 MindiExit -1 1639 fi 1640 echo -en "." 1641 echo "Creating a vfat filesystem on $USBPART" >> $LOGFILE 1642 mkfs -t vfat $USBPART 2>&1 >> $LOGFILE 1643 if [ $? -ne 0 ]; then 1644 echo "Unable to create a vfat filesystem on $USBPART" | tee -a $LOGFILE 1645 echo "Make sure your USB device is pluged in and partitioned ($USBPART must exist on it)" | tee -a $LOGFILE 1646 $FDISK -l $USBDEV 2>&1 | tee -a $LOGFILE 1647 MindiExit -1 1648 fi 1649 echo -en "." 1650 echo "Mounting $USBPART on $MINDI_TMP/usb" >> $LOGFILE 1651 mount $USBPART $MINDI_TMP/usb 2>> $LOGFILE 1652 if [ $? -ne 0 ]; then 1653 echo "Unable to mount $USBPART on $MINDI_TMP/usb" | tee -a $LOGFILE 1654 echo "Make sure your USB device is pluged in, partitioned and formated ($USBPART must exist on it)" | tee -a $LOGFILE 1655 $FDISK -l $USBDEV 2>&1 | tee -a $LOGFILE 1656 MindiExit -1 1657 fi 1658 echo -en "." 1659 mkdir -p $MINDI_TMP/usb/{images,archives} 1660 cp -f $1/*.img $1/*.gz $MINDI_TMP/usb/images 2>> $LOGFILE || LogIt "OfferToMakeBootableUSB: Cannot copy $i to $MINDI_TMP/iso/images" 1661 echo -en "." 1662 old_pwd=`pwd` 1663 cd $MINDI_TMP/usb 1664 echo "mindi_lib = $MINDI_LIB" >> $LOGFILE 1665 for i in memdisk memtest.bin memtest.img ; do 1666 j=$MINDI_LIB/$i 1667 k=$MINDI_TMP/usb 1668 if [ -e "$j" ] ; then 1669 LogIt "Copying $j to $k" 1670 cp -f $j $k 2> /dev/null || Die "Failed to copy $j to $k" 1671 cp -f $j $MINDI_TMP 2> /dev/null || Die "Failed to copy $j to $MINDI_TMP" 1672 if [ _"$MONDO_SHARE" != _"" ]; then 1673 cp -f $j $MONDO_ROOT 2>> $LOGFILE || Die "Failed to copy $j to $MONDO_ROOT" 1674 fi 1675 fi 1676 done 1677 echo -en "." 1678 MakeSyslinuxMessageFile $MINDI_TMP/usb/message.txt 1679 echo -en "." 1680 cp $kernelpath $MINDI_TMP/usb/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mindi tmp ($MINDI_TMP/usb/syslinux/vmlinuz). Did you run out of disk space?" 1681 echo -en "." 1682 cp $MINDI_TMP/mindi.rdz $MINDI_TMP/usb/initrd.img 2>> $LOGFILE 1683 echo -en "." 1684 if [ _"$MONDO_SHARE" != _"" ]; then 1685 cp $kernelpath $MONDO_ROOT/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mondo root ($MONDO_ROOT/vmlinuz). Did you run out of disk space?" 1686 cp $MINDI_TMP/mindi.rdz $MONDO_ROOT/initrd.img 2> /dev/null || Die "Cannot copy mindi.rdz ($MINDI_TMP) to mondo root ($MONDO_ROOT/initrd.img). Did you run out of disk space?" 1687 1688 fi 1689 echo -en "." 1690 [ -e "$iso_cfg_file" ] || Die "FIXME - unable to find $iso_cfg_file - this should never occur" 1691 cat $sys_cfg_file | HackSyslinuxFile $ramdisk_size $MINDI_TMP/usb > syslinux.cfg || Die "Cannot copy syslinux.cfg from mindi_home to $MINDI_TMP/usb - did you run out of disk space?" 1692 echo -en "." 1693 if [ -e "$MINDI_TMP/NFS-DEV" ] ; then 1694 perl -pi -e 's/interactive/iso/' syslinux.cfg 1695 fi 1696 cd $old_pwd 1697 echo -en "." 1698 if [ "$ARCH" != "ia64" ] ; then 1699 if [ _"$MONDO_SHARE" != _"" ]; then 1700 cp -f $MINDI_TMP/usb/{syslinux.cfg,initrd.img,vmlinuz,message.txt} $MONDO_ROOT 2>> $LOGFILE || Die "Cannot copy core files to ramdisk for boot disk (under $MONDO_ROOT). Did you run out of disk space?" 1701 cp -f $MONDO_SHARE/autorun $MONDO_ROOT 2>> $LOGFILE 1702 fi 1703 umount $MINDI_TMP/usb 1704 syslinux $USBPART 2>> $MINDI_TMP/syslinux.log 1705 else 1706 echo "No USB boot support for ia64" | tee -a $LOGFILE 1707 umount $MINDI_TMP/usb 1708 MindiExit -1 1709 fi 1710 echo -en "." 1711 if [ "$?" -ne "0" ] ; then 1712 echo "----------- syslinux's errors --------------" |tee -a $LOGFILE 1713 cat $MINDI_TMP/syslinux.log |tee -a $LOGFILE 1714 LogIt "Failed to create USB image." 1715 else 1716 echo -e "$DONE" 1717 echo "Created bootable USB image on $USBDEV" >> $LOGFILE 1718 fi 1719 rm -f $MINDI_TMP/syslinux.log 1720 } 1721 1722 1597 1723 PluralOrNot() { 1598 1724 [ "$1" -gt "1" ] && echo -en "s" … … 1609 1735 fi 1610 1736 if [ "$disksize" -gt "2880" ] ; then 1611 if [ "`DidMondoCallMe`" ]; then1737 if [ _"$MONDO_SHARE" != _"" ]; then 1612 1738 if [ "$CDRECOVERY" != "yes" ] ; then 1613 1739 if [ -e "$MINDI_TMP/NFS-DEV" ] ; then … … 1642 1768 mtpt=$MINDI_TMP/$rand1.$rand2.mtpt 1643 1769 dd if=/dev/zero of=$image bs=1k count=$disksize &> /dev/null 1770 echo "Creating ext2 filesystem on $image" >> $LOGFILE 1644 1771 mke2fs -N 26 -F $image &> /dev/null 1645 1772 mkdir -p $mtpt … … 1704 1831 if [ "$CDRECOVERY" = "yes" ] ; then 1705 1832 echo -en "default=RESTORE\n" 1706 elif [ "$disksize" -gt "2880" ] && [ "`DidMondoCallMe`" ]; then1833 elif [ "$disksize" -gt "2880" ] && [ _"$MONDO_SHARE" != _"" ]; then 1707 1834 if [ -e "$MINDI_TMP/NFS-DEV" ] ; then 1708 1835 echo -en "default=iso\n" … … 1725 1852 options="RESTORE expert" 1726 1853 elif [ "$disksize" -gt "2880" ] ; then 1727 if [ "`DidMondoCallMe`" ]; then1854 if [ _"$MONDO_SHARE" != _"" ]; then 1728 1855 if [ -e "$MINDI_TMP/NFS-DEV" ] ; then 1729 1856 options="iso" … … 1746 1873 rootpart="" 1747 1874 fi 1748 outstr="image= vmlinuz\n\tlabel=$i\n\tinitrd=/mindi.rdz\n\t${rootpart}append=\" rw ramdisk=$ramdisksize ramdisk_size=$ramdisksize maxcpus=1 $ooo_mode $ADDITIONAL_BOOT_PARAMS"1875 outstr="image=/vmlinuz\n\tlabel=$i\n\tinitrd=/mindi.rdz\n\t${rootpart}append=\" rw ramdisk=$ramdisksize ramdisk_size=$ramdisksize maxcpus=1 $ooo_mode $ADDITIONAL_BOOT_PARAMS" 1749 1876 1750 1877 outstr=$outstr" $ooo_mode" … … 1782 1909 t=vfat 1783 1910 else 1911 echo "Creating ext2 filesystem on $imagefile" >> $LOGFILE 1784 1912 mke2fs -N 26 -m 0 -F $imagefile >> $LOGFILE 2>> $LOGFILE 1785 1913 t=ext2 … … 1804 1932 1805 1933 MakeLiloConfFile $disksize > $liloconf 1934 1935 # Copy it so that CD-ROM menu entry is satisfied 1936 if [ "$ARCH" = "ia64" ] ; then 1937 mountefi=0 1938 df -T | grep /boot/efi | grep -q vfat 1939 if [ $? -ne 0 ]; then 1940 mount /boot/efi 1941 if [ $? -ne 0 ]; then 1942 echo "You have to mount your EFI partition when using mindi" 1943 MindiExit -1 1944 fi 1945 mountefi=1 1946 fi 1947 cp /boot/efi/elilo.efi $mountpoint 1948 cp $liloconf $mountpoint/elilo.efi $mountpoint/efi/boot 1949 if [ $mountefi -eq 1 ]; then 1950 umount /boot/efi 2>&1 > /dev/null 1951 fi 1952 fi 1806 1953 1807 1954 echo "Copying $MINDI_TMP/mindi.rdz to $mountpoint..." >> $LOGFILE … … 1935 2082 else 1936 2083 dd if=/dev/zero of=$imagefile bs=1k count=$disksize &> /dev/null || Die "Cannot dd blank file" 2084 echo "Creating vfat filesystem on $imagefile" >> $LOGFILE 1937 2085 mkfs.vfat $imagefile >> $LOGFILE 2>> $LOGFILE 1938 2086 syslinux $imagefile >> $LOGFILE 2>> $LOGFILE … … 1947 2095 cat $sys_cfg_file | HackSyslinuxFile $ramdisk_size $mountpoint > syslinux.cfg || Die "Cannot copy syslinux.cfg from mindi_home to tmp_root" 1948 2096 if [ -e "$MINDI_TMP/NFS-DEV" ] ; then 1949 mv syslinux.cfg syslinux.cfg.orig 1950 sed s/interactive/iso/ syslinux.cfg.orig > syslinux.cfg 2097 perl -pi -e 's/interactive/iso/' syslinux.cfg 1951 2098 fi 1952 2099 cd $old_pwd … … 2023 2170 2024 2171 PrepareDataDiskImages() { 2025 local needlist bigdir minidir_root tardir diskdir imagesdir res i j k old_pwd lines 2172 local needlist bigdir minidir_root tardir diskdir imagesdir res i j k old_pwd lines lfiles 2026 2173 2027 2174 imagesdir=$1 … … 2034 2181 tardir=$MINDI_TMP/tardir 2035 2182 2036 lines=`grep -vx " *#.*" $MINDI_CONF/deplist.txt | grep -vx "" | wc -l` 2037 cat $MINDI_CONF/deplist.txt | GenerateGiantDependencyList $needlist $lines 2183 if [ -e "$DEPLIST_FILE" ]; then 2184 lfiles="$DEPLIST_FILE $DEPLIST_DIR/*" 2185 else 2186 lfiles="$DEPLIST_DIR/*" 2187 fi 2188 lines=`grep -vx " *#.*" $lfiles | grep -vx "" | wc -l` 2189 cat $lfiles | GenerateGiantDependencyList $needlist $lines 2038 2190 res=$? 2039 2191 if [ "$YOUR_KERNEL_SUCKS" ]; then … … 2071 2223 FindAndAddUserKeyboardMappingFile 2072 2224 mkdir -p $bigdir/tmp 2073 if [ "`DidMondoCallMe`" ]; then2225 if [ _"$MONDO_SHARE" != _"" ]; then 2074 2226 MakeMondoConfigFile $MINDI_TMP/mondo-restore.cfg 2075 2227 cp -f $MINDI_TMP/mondo-restore.cfg $bigdir/tmp &> /dev/null … … 2109 2261 tar -zxf $MINDI_LIB/x11-tools.tgz 2>> $LOGFILE || LogIt "WARNING - error occurred while unzipping x11-tools.tgz" 2110 2262 fi 2111 if [ -e "$MONDO_SHARE/restore-scripts" ] 2263 if [ -e "$MONDO_SHARE/restore-scripts" ]; then 2112 2264 cp -Rdf $MONDO_SHARE/restore-scripts/* . 2>> $LOGFILE 2113 [ "$?" -ne "0" ] && [ "`DidMondoCallMe`" ] &&Die "Cannot find/install $MONDO_SHARE/restore-scripts"2265 [ "$?" -ne "0" ] && Die "Cannot find/install $MONDO_SHARE/restore-scripts" 2114 2266 fi 2115 2267 [ -d "/lib/dev-state" ] && cp --parents -pRdf /lib/dev-state . 2>> $LOGFILE … … 2120 2272 noof_disks=$? 2121 2273 [ "$noof_disks" -eq "0" ] && Die "Too much stuff!" 2122 # if [ "$noof_disks" -ge "8" ] ; then2123 # LogIt "You are putting a ludicrously large amount of data on these disks."2124 # LogIt "I shall therefore double EXTRA_SPACE, just in case your ramdisk is too small."2125 # EXTRA_SPACE=$(($EXTRA_SPACE*2))2126 # fi2127 2274 MakeMountlist $MINDI_TMP/mountlist.txt 2128 2275 mkdir -p $minidir_root/$noof_disks/tmp 2129 2276 cp -f $MINDI_TMP/mountlist.txt $minidir_root/$noof_disks/tmp/mountlist.txt 2> /dev/null || Die "Cannot copy mountlist.txt from $MINDI_TMP to data disk" 2130 [ "`DidMondoCallMe`" ] && cp -f $minidir_root/$noof_disks/tmp/mountlist.txt $MINDI_TMP/. 2>> $LOGFILE 2277 if [ _"$MONDO_SHARE" != _"" ]; then 2278 cp -f $minidir_root/$noof_disks/tmp/mountlist.txt $MINDI_TMP/. 2>> $LOGFILE 2279 fi 2131 2280 [ $LVM != "false" ] && $MINDI_LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm || LVM="false" 2132 2281 cat $minidir_root/$noof_disks/tmp/mountlist.txt >> $LOGFILE … … 2498 2647 dd if=/dev/zero of=$tempfile bs=1k count=$ramdisk_size &> /dev/null || Die "Not enough room for temporary ramdisk (TurnTgzIntoRdz)" 2499 2648 echo -en "..." 2649 echo "Creating ext2 filesystem on $tempfile" >> $LOGFILE 2500 2650 mke2fs -b 1024 -m 1 -i 2048 -F $tempfile >> $LOGFILE 2>> $LOGFILE 2501 2651 echo -en "..." … … 2590 2740 dd if=/dev/zero of=$mountpoint/zero &> /dev/null 2591 2741 rm -f $mountpoint/zero 2592 if [ "`DidMondoCallMe`" ]; then2742 if [ _"$MONDO_SHARE" != _"" ]; then 2593 2743 MakeMondoConfigFile $mountpoint/tmp/mondo-restore.cfg 2594 2744 cp -f $mountpoint/tmp/mondo-restore.cfg $MINDI_TMP &> /dev/null … … 2648 2798 cd $minidir_root/all 2649 2799 size_of_all_tools=`du -sk . | cut -f1` 2650 if [ "`DidMondoCallMe`" ]; then2800 if [ _"$MONDO_SHARE" != _"" ]; then 2651 2801 for q in filelist.full.gz biggielist.txt ; do 2652 2802 [ ! -e "$MINDI_TMP/$q" ] && Die "Cannot find $MINDI_TMP/$q" … … 2671 2821 2672 2822 2673 if [ "$1" = "- printvar" ] ; then2823 if [ "$1" = "--printvar" ] ; then 2674 2824 shift 2675 2825 if [ _"$1" != _"" ] ; then 2676 2826 set | egrep "^$1" | cut -d= -f2 2677 2827 fi 2678 exit 02828 MindiExit 0 2679 2829 fi 2680 2830 … … 2740 2890 fi 2741 2891 2742 [ -f "$MINDI_LIB/vmlinuz" ] && FAILSAFE_KVER=`strings $MINDI_LIB/vmlinuz 2> /dev/null | grep -E "2\.[46]" | cut -d' ' -f1` 2892 # If we have a distribution-specific script for finding a FAILSAFE kernel, use it. 2893 if [ -f "$MINDI_LIB/FindDistroFailsafe" ] && [ ! "$1" = "--makemountlist" ] && [ "$kernelpath" = "FAILSAFE" ]; then 2894 source $MINDI_LIB/FindDistroFailsafe 2895 # Log kernel image 2896 LogIt "FAILSAFE kernel image to be used is: $FAILSAFE_KBIN ($FAILSAFE_KVER)" 2897 else 2898 [ -f "$MINDI_LIB/vmlinuz" ] && FAILSAFE_KVER=`strings $MINDI_LIB/vmlinuz 2> /dev/null | grep -E "2\.[46]" | cut -d' ' -f1` 2899 fi 2743 2900 2744 2901 if ! which mkfs.vfat &> /dev/null ; then … … 2758 2915 FindLiloBinary 2759 2916 fi 2760 # BERLIOS: Remove as too dangerous and now useless2761 #grep -F " $MINDI_TMP " /proc/mounts | grep -F tmpfs > /dev/null 2> /dev/null && MINDI_TMP=/home/tmpmondo && mkdir -p $MINDI_TMP && LogIt "Changing MINDI_TMP to $MINDI_TMP because you're using tmpfs for /tmp\n" ; # tmpfs doesn't like Mindi and /tmp, for some reason2762 2917 trap "Aborted" SIGTERM 2763 2918 DONE="\r\t\t\t\t\t\t\t\tDone. " 2764 2919 CHOPSIZE=240 2765 2920 BIGNO=0 2766 MAX_COMPRESSED_SIZE=1300 2767 kernelpath="" 2768 MONDO_ROOT=/var/cache/mondo 2769 mkdir -p $MONDO_ROOT 2921 MAX_COMPRESSED_SIZE="$mindi_max_compressed_size" 2922 kernelpath="$mindi_kernel" 2923 if [ "$kernelpath" = "NATIVE" ]; then 2924 kernelpath="" 2925 fi 2926 if [ "$ARCH" = "ia64" ] ; then 2927 USE_LILO=yes 2928 else 2929 USE_LILO=no 2930 fi 2770 2931 2771 2932 if [ -d "/proc/lvm" ]; then … … 2790 2951 lsmod >> $LOGFILE 2791 2952 echo "-------------" >> $LOGFILE 2792 2793 if [ "$#" -ge "2" ] ; then 2794 if [ "$1" = "--max-compressed-size" ] ; then 2795 MAX_COMPRESSED_SIZE=$2 2796 shift; shift 2797 fi 2798 fi 2953 echo "Liste of extra modules is:" >> $LOGFILE 2954 echo "$EXTRA_MODS" >> $LOGFILE 2955 echo "-------------" >> $LOGFILE 2956 2799 2957 2800 2958 FLOPPY_WAS_MOUNTED="" … … 2806 2964 done 2807 2965 2966 # 2967 # If we have a USB device we need to store info 2968 # and remove it from the parameters line 2969 # 2970 if [ "$#" -ne "0" ] ; then 2971 if [ "$1" = "--usb" ] ; then 2972 shift 2973 USBDEV=$1 2974 if [ _"$USBDEV" = _"" ]; then 2975 Die "No USB device specified" 2976 fi 2977 shift 2978 fi 2979 fi 2980 2981 # 2982 # Deal with parameters 2983 # 2808 2984 if [ "$#" -ne "0" ] ; then 2809 2985 if [ "$1" = "--findkernel" ] ; then … … 2823 2999 MindiExit 0 2824 3000 elif [ "$#" -ge "9" ] && [ "$1" = "--custom" ] ; then 3001 if [ _"$MONDO_SHARE" = _"" ]; then 3002 Die "--custom is reserved for mondoarchive calls" 3003 fi 2825 3004 MONDO_TMP=$2 2826 3005 # Change MINDI_TMP for the one provided by mondo … … 2837 3016 kernelpath=$4; [ "$kernelpath" = "(null)" ] && kernelpath="" 2838 3017 ### 2839 ### Sq-Modification...2840 3018 ### Attempt to locate kernel specific module path 2841 3019 ### if module path is found then use it other wise use uname -r to set it... 2842 3020 ### 3021 if [ "$kernelpath" = "" ]; then 3022 kernelpath=`TryToFindKernelPath` 3023 fi 2843 3024 kernelname=`echo $kernelpath | cut -d'-' -f2-` 2844 3025 LogIt "kernelname = $kernelname" … … 2852 3033 LogIt "Using modules for kernel: ${kernelname}" 2853 3034 fi 2854 ###2855 ### end of Sq-Modification2856 ###2857 3035 TAPEDEV=$5 2858 3036 TAPESIZE=$6 … … 2883 3061 [ "$NOT_BOOT" = "" ] && NOT_BOOT=no 2884 3062 [ "$TAPEDEV" ] && LogIt "This is a tape-based backup. Fine." 2885 [ "$kernelpath" = "" ] && kernelpath=`TryToFindKernelPath`2886 kernelname=`echo $kernelpath | cut -d'-' -f2-`2887 if [ ! -d "/lib/modules/$kernelname" ] && [ "$kernelpath" != "FAILSAFE" ]2888 then2889 LogIt "Module path for ${kernelpath} not found..."2890 LogIt "using running kernel\'s modules."2891 kernelname=`uname -r`2892 else2893 LogIt "Using modules for kernel: ${kernelname}"2894 fi2895 3063 [ "$CDRECOVERY" = "yes" ] && [ "$TAPEDEV" != "" ] && Die "Sorry, you can't use --cd-recovery and --write-tapes at the same time" 2896 3064 MONDO_ROOT=`echo $CACHE_LOC | sed 's/\(.*\)\/.*/\1/'` … … 2916 3084 2917 3085 [ -e "$iso_cfg_file" ] || Die "Cannot find $iso_cfg_file" 2918 if [ ! "`DidMondoCallMe`" ]; then3086 if [ _"$MONDO_SHARE" = _"" ]; then 2919 3087 LogIt "Mindi Linux mini-distro generator v$MINDI_VERSION" 2920 3088 LogIt "Latest Mindi is available from http://www.mondorescue.org" 2921 3089 LogIt "BusyBox sources are available from http://www.busybox.net" 2922 LogIt "------------------------------------------------------------------------------"2923 3090 else 2924 3091 echo "You are using Mindi-Linux v$MINDI_VERSION to make boot+data disks" >> /var/log/mondo-archive.log … … 2955 3122 fi 2956 3123 3124 if [ _"$USBDEV" != _"" ]; then 3125 LogIt "Including the generation of a Bootable USB device on $USBDEV" 3126 fi 2957 3127 if [ "$kernelpath" = "" ] ; then 2958 [ "`DidMondoCallMe`" ] && Die "Please use -k <path> to specify kernel." 2959 echo -en "Do you want to use your own kernel to build the boot disk ([y]/n) ?" 2960 read ch 2961 if [ "$ch" != "n" ] && [ "$ch" != "N" ] ; then 2962 USE_OWN_KERNEL="yes" 3128 if [ _"$MONDO_SHARE" != _"" ]; then 3129 Die "Please use -k <path> to specify kernel." 3130 fi 3131 if [ $INTERACTIVE == "yes" ]; then 3132 echo -en "Do you want to use your own kernel to build the boot disk ([y]/n) ?" 3133 read ch 3134 if [ "$ch" != "n" ] && [ "$ch" != "N" ] ; then 3135 USE_OWN_KERNEL="yes" 3136 fi 2963 3137 fi 2964 3138 if [ "$USE_OWN_KERNEL" = "yes" ]; then … … 2973 3147 fi 2974 3148 fi 2975 if [ ! "`DidMondoCallMe`" ] ; then3149 if [ _"$MONDO_SHARE" = _"" ] && [ $INTERACTIVE = "yes" ] && [ "$ARCH" != "ia64" ] ; then 2976 3150 echo -en "Would you like to use LILO (instead of syslinux)\nfor your boot CD/floppies (y/[n]) ?" 2977 3151 read ch 2978 if [ "$ch" != "y" ] && [ "$ch" != "Y" ] ; then 2979 USE_LILO=no 2980 else 3152 if [ "$ch" = "y" ] || [ "$ch" = "Y" ] ; then 2981 3153 USE_LILO=yes 2982 3154 fi 2983 3155 fi 2984 3156 if [ "$YOUR_KERNEL_SUCKS" != "" ] || [ "$kernelpath" = "" ] || [ "$kernelpath" = "SUCKS" ] || [ "$kernelpath" = "FAILSAFE" ] ; then 2985 kernelpath=$MINDI_LIB/vmlinuz 2986 LogIt "I shall include Mindi's failsafe kernel, not your kernel, in the boot disks." 2987 LogIt "However, you are still running your kernel. If Mindi fails to create your" 2988 LogIt "disks then it may still be a result of a problem with your kernel." 2989 pwd=`pwd` 2990 cd $MINDI_TMP 2991 bzip2 -dc $MINDI_LIB/lib.tar.bz2 | tar -x || Die "Cannot unzip lib.tar.bz2" 2992 cd $pwd 3157 # If we have a distribution-specific script for finding a FAILSAFE kernel, use it. 3158 if [ -f "$MINDI_LIB/FindDistroFailsafe" ] && [ ! "$1" = "--makemountlist" ]; then 3159 source $MINDI_LIB/FindDistroFailsafe 3160 # Log kernel image 3161 LogIt "FAILSAFE kernel image to be used is: $FAILSAFE_KBIN ($FAILSAFE_KVER)" 3162 kernelpath="$FAILSAFE_KBIN" 3163 LogIt "I shall include a failsafe kernel, not your kernel, in the boot disks.\n" 3164 LogIt "The failsafe kernel is $kernelpath.\n" 3165 LogIt "However, you are still running your kernel. If Mindi fails to create your\n" 3166 LogIt "disks then it may still be a result of a problem with your kernel.\n" 3167 pwd=`pwd` 3168 cd $TMP_ROOT 3169 mkdir -p lib/modules 3170 cp -a "/lib/modules/$FAILSAFE_KVER" "lib/modules/$FAILSAFE_KVER" || Die "Cannot copy kernel modules." 3171 cd $pwd 3172 else 3173 kernelpath=$MINDI_LIB/vmlinuz 3174 LogIt "I shall include Mindi's failsafe kernel, not your kernel, in the boot disks." 3175 LogIt "However, you are still running your kernel. If Mindi fails to create your" 3176 LogIt "disks then it may still be a result of a problem with your kernel." 3177 pwd=`pwd` 3178 cd $MINDI_TMP 3179 bzip2 -dc $MINDI_LIB/lib.tar.bz2 | tar -x || Die "Cannot unzip lib.tar.bz2" 3180 cd $pwd 3181 fi 2993 3182 YOUR_KERNEL_SUCKS="Your kernel sucks" 2994 3183 fi … … 3053 3242 ...Or type 'memtest' to test your PC's RAM thoroughly.\n" 3054 3243 3055 if [ ! "`DidMondoCallMe`" ]; then3244 if [ _"$MONDO_SHARE" = _"" ]; then 3056 3245 ListImagesForUser $CACHE_LOC 3057 3246 boot_dev=/dev/fd0u1722 … … 3063 3252 fi 3064 3253 OfferToMakeBootableISO $CACHE_LOC 3254 if [ _"$USBDEV" != _"" ] ; then 3255 OfferToMakeBootableUSB $CACHE_LOC 3256 fi 3065 3257 LogIt "Finished." 3066 3258 elif [ "$TAPEDEV" ] ; then … … 3072 3264 Die "Cannot find all.tar.gz, to be written to tape" 3073 3265 fi 3266 elif [ _"$USBDEV" != _"" ] ; then 3267 OfferToMakeBootableUSB $CACHE_LOC 3074 3268 else 3075 3269 OfferToMakeBootableISO $CACHE_LOC
Note:
See TracChangeset
for help on using the changeset viewer.