Changeset 2696 in MondoRescue for branches/2.2.10/mindi/mindi
- Timestamp:
- Jan 25, 2011, 10:34:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/mindi
r2651 r2696 57 57 MY_FSTAB=/etc/fstab 58 58 TAPE_MODS="ht st osst ide-tape ide_tape" 59 SCSI_MODS="3w-xxxx 3w_xxxx 3w_9xxx 3w-9xxx 53c7,8xx a100u2w a320raid aacraid adpahci 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 iscsi_tcp libiscsi scsi_transport_iscsi libiscsi_tcp isp megaraid megaraid_mm megaraid_mbox megaraid_sas m ptbase mptscsih mptsas mptspi mptfc mptscsi mptctl NCR53c406a ncr53c8xx nsp32 pas16 pci2000 pci2220i pcmcia ppa psi240i qla1280 qla2200 qla2300 qla2400 qla2xxx qla2xxx_conf qlogicfas qlogicfc qlogicisp qlogicfas qlogicfas408 raw1394 scsi_mod scsi_transport_sas scsi_transport_spi scsi_transport_fc sd_mod crc_t10dif crc-t10dif seagate sg sim710 sr_mod sym53c416 sym53c8xx sym53c8xx_2 t128 tmscsim u14-34f ultrastor wd7000 vmhgfs intermodule scsi_dh scsi_tgt emcpdm emcpgpx emcpmpx emcp dc395x diskdumplib scsi_dump_register"59 SCSI_MODS="3w-xxxx 3w_xxxx 3w_9xxx 3w-9xxx 53c7,8xx a100u2w a320raid aacraid adpahci 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 iscsi_tcp libiscsi scsi_transport_iscsi libiscsi_tcp isp megaraid megaraid_mm megaraid_mbox megaraid_sas mega_sr mptbase mptscsih mptsas mptspi mptfc mptscsi mptctl NCR53c406a ncr53c8xx nsp32 pas16 pci2000 pci2220i pcmcia ppa psi240i qla1280 qla2200 qla2300 qla2400 qla2xxx qla2xxx_conf qlogicfas qlogicfc qlogicisp qlogicfas qlogicfas408 raw1394 scsi_mod scsi_transport_sas scsi_transport_spi scsi_transport_fc sd_mod crc_t10dif crc-t10dif seagate sg sim710 sr_mod sym53c416 sym53c8xx sym53c8xx_2 t128 tmscsim u14-34f ultrastor wd7000 vmhgfs intermodule scsi_dh scsi_tgt emcpdm emcpgpx emcpmpx emcp dc395x diskdumplib scsi_dump_register" 60 60 61 61 # ide-probe-mod 62 IDE_MODS="ide ide-floppy floppy ide-generic ide-detect ide-mod ide-disk ide_disk ide-cd ide_cd ide_cd_mod ide-cd_mod ide-cs ide-core ide_core ide-gd_mod edd paride ata_generic ata_piix libata dock via82cxxx generic nvidia ahci sata_nv cmd64x pata_amd pata_marvell pata_serverworks pata_sis amd74xx sis5513 jmicron sata_promise sata_via serverworks sata_svw blkbk"62 IDE_MODS="ide ide-floppy floppy ide-generic ide-detect ide-mod ide-disk ide_disk ide-cd ide_cd ide_cd_mod ide-cd_mod ide-cs ide-core ide_core ide-gd_mod ide_gd_mod edd paride ata_generic ide_pci_generic ata_piix libata dock via82cxxx generic nvidia ahci sata_nv cmd64x pata_amd pata_marvell pata_serverworks pata_sis pata_sil680 pata_jmicron amd74xx sis5513 jmicron sata_promise sata_via serverworks sata_svw blkbk virtio" 63 63 PCMCIA_MODS="pcmcia_core ds yenta_socket" 64 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 ums_cypress ums-cypress"65 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 vmxnet3 vmnet exportfs fuse libcrc32c crc32c netbk xenblktap"64 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 xhci usbkbd usbhid keybdev mousedev libusual scsi_mod ff-memless ums_cypress ums-cypress cp210x" 65 NET_MODS="auth_rpcgss sunrpc nfs nfs_acl lockd fscache loop mii 3c59x e100 bcm5700 bnx2 bnx2x e1000 e1000e igb dca eepro100 ne2k-pci tg3 libphy pcnet32 8139cp 8139too 8390 forcedeth vmxnet vmxnet3 vmnet exportfs fuse libcrc32c crc32c netbk xenblktap r8169" 66 66 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" 67 67 # Those modules will only go on the backup media, not the boot media. 68 EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid10 raid5 raid456 lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm-round-robin dm-emc dm-hp-sw dm-rdac multipath jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache ext4 jbd2 crc16 ocfs2 ocfs2_dlm ocfs2_nodemanager configfs"68 EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid10 raid5 raid456 raid6_pq xor async_tx async_memcpy async_xor lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm-round-robin dm-emc dm-hp-sw dm-rdac multipath jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache ext4 jbd2 crc16 ocfs2 ocfs2_dlm ocfs2_nodemanager configfs" 69 69 # Replace with that line for HP OCMP e.g. 70 70 #DENY_MODS="MPS_Driver_Mapper mps octtldrv tscttl streams kqemu fdomain" … … 110 110 fi 111 111 112 # Last function called before exiting 113 # Parameter is exit code value 114 # Should be declared here as used immediately below potentialy 115 MindiExit() { 116 LogFile "Mindi $MINDI_VERSION is exiting" 117 LogFile "End date : `date`" 118 if [ _"$MONDO_SHARE" != _"" ] ; then 119 echo "------------- mindi logfile included -------------------------" >> /var/log/mondoarchive.log 120 cat $LOGFILE >> /var/log/mondoarchive.log 121 echo "--------------------------------------------------------------">> /var/log/mondoarchive.log 122 fi 123 124 cd / 125 sync& 126 127 # Clean temporary files only when standalone mindi 128 if [ _"$MINDI_TMP" != _"$MONDO_TMP" ]; then 129 rm -Rf $MINDI_TMP 130 fi 131 exit $1 132 } 133 134 LogIt() { 135 if [ -e /dev/stderr ] ; then 136 echo -e "$1" >> /dev/stderr 137 elif [ -e /usr/bin/logger ] ; then 138 /usr/bin/logger -s $1 139 fi 140 echo -e "$1" >> $LOGFILE 141 if [ _"$2" != _"" ]; then 142 grep -Ev "tar: Removing \`/\'" "$2" >> $LOGFILE 143 fi 144 rm -f "$2" 145 } 146 147 148 Die() { 149 local i 150 if [ "$1" = "" ] ; then 151 LogAll "FATAL ERROR" 152 else 153 LogAll "FATAL ERROR. $1" 154 fi 155 if [ _"$2" != _"" ]; then 156 grep -Ev "tar: Removing \`/\'" "$2" >> $LOGFILE 157 fi 158 rm -f "$2" 159 160 LogAll "Please e-mail a copy of $LOGFILE to the mailing list." 161 LogAll "See http://www.mondorescue.org for more information." 162 LogAll "WE CANNOT HELP unless you enclose that file.\n" 163 MindiExit -1 164 } 165 112 166 # Now we can create what we need 113 167 MINDI_TMP=`mktemp -d $TMPDIR/mindi.XXXXXXXXXX` … … 236 290 } 237 291 238 239 # Last function called before exiting240 # Parameter is exit code value241 MindiExit() {242 LogFile "Mindi $MINDI_VERSION is exiting"243 LogFile "End date : `date`"244 if [ _"$MONDO_SHARE" != _"" ] ; then245 echo "------------- mindi logfile included -------------------------" >> /var/log/mondoarchive.log246 cat $LOGFILE >> /var/log/mondoarchive.log247 echo "--------------------------------------------------------------">> /var/log/mondoarchive.log248 fi249 250 cd /251 sync&252 253 # Clean temporary files only when standalone mindi254 if [ _"$MINDI_TMP" != _"$MONDO_TMP" ]; then255 rm -Rf $MINDI_TMP256 fi257 exit $1258 }259 260 Die() {261 local i262 if [ "$1" = "" ] ; then263 LogAll "FATAL ERROR"264 else265 LogAll "FATAL ERROR. $1"266 fi267 if [ _"$2" != _"" ]; then268 grep -Ev "tar: Removing \`/\'" "$2" >> $LOGFILE269 fi270 rm -f "$2"271 272 LogAll "Please e-mail a copy of $LOGFILE to the mailing list."273 LogAll "See http://www.mondorescue.org for more information."274 LogAll "WE CANNOT HELP unless you enclose that file.\n"275 MindiExit -1276 }277 292 278 293 … … 890 905 } 891 906 892 893 907 # Called by TurnTgzIntoRdz, to make mondorestore.cfg 894 908 MakeMondoConfigFile() { … … 1370 1384 done 1371 1385 MakeMessageFile > $MINDI_TMP/iso/message.txt 1372 cp $kernelpath $MINDI_TMP/iso/vmlinuz 2>> $LOGFILE || Die "Cannot copy vmlinuz ($kernelpath) to mindi tmp ($MINDI_TMP/iso/vmlinuz). Did you run out of disk space?"1373 1386 if [ $KERNEL_IS_XEN = "yes" ]; then 1374 1387 cp $xenkernelpath $MINDI_TMP/iso/xen.gz 2>> $LOGFILE || Die "Cannot copy xen.gz ($xenkernelpath) to mindi tmp ($MINDI_TMP/iso/xen.gz). Did you run out of disk space?" 1375 1388 cp $MBOOTC32 $MINDI_TMP/iso/mboot.c32 2>> $LOGFILE || Die "Cannot copy mboot.c32 ($MBOOTC32) to mindi tmp ($MINDI_TMP/iso/mboot.c32). Did you run out of disk space?" 1376 1389 fi 1377 1390 cp $kernelpath $MINDI_TMP/iso/vmlinuz 2>> $LOGFILE || Die "Cannot copy vmlinuz ($kernelpath) to mindi tmp ($MINDI_TMP/iso/vmlinuz). Did you run out of disk space?" 1378 1391 cp $MINDI_TMP/initrd.img $MINDI_TMP/iso/initrd.img 2>> $LOGFILE || Die "Cannot copy initrd.img ($MINDI_TMP/initrd.img) to $MINDI_TMP/iso/initrd.img. Did you run out of disk space?" 1392 1379 1393 if [ _"$MONDO_SHARE" != _"" ]; then 1394 if [ $KERNEL_IS_XEN = "yes" ]; then 1395 cp $xenkernelpath $MONDO_CACHE/xen.gz 2>> $LOGFILE || Die "Cannot copy xen.gz ($xenkernelpath) to mindi tmp ($MINDI_TMP/iso/xen.gz). Did you run out of disk space?" 1396 cp $MBOOTC32 $MONDO_CACHE/mboot.c32 2>> $LOGFILE || Die "Cannot copy mboot.c32 ($MBOOTC32) to mindi tmp ($MINDI_TMP/iso/mboot.c32). Did you run out of disk space?" 1397 fi 1380 1398 cp $kernelpath $MONDO_CACHE/vmlinuz 2>> $LOGFILE || Die "Cannot copy vmlinuz ($kernelpath) to mondo root ($MONDO_CACHE/vmlinuz). Did you run out of disk space?" 1381 1399 cp $MINDI_TMP/initrd.img $MONDO_CACHE/initrd.img 2>> $LOGFILE || Die "Cannot copy initrd.img ($MINDI_TMP/initrd.img) to $MONDO_CACHE/initrd.img. Did you run out of disk space?" … … 1395 1413 if [ "$ARCH" != "ia64" ] ; then 1396 1414 if [ _"$MONDO_SHARE" != _"" ]; then 1397 if [ $KERNEL_IS_XEN = "no" ]; then 1398 cp -f $MINDI_TMP/iso/{isolinux.cfg,initrd.img,vmlinuz,isolinux.bin,message.txt} $MONDO_CACHE 2>> $LOGFILE || Die "Cannot copy core files to ramdisk for boot disk (under $MONDO_CACHE). Did you run out of disk space?" 1399 else 1400 cp -f $MINDI_TMP/iso/{isolinux.cfg,initrd.img,vmlinuz,isolinux.bin,message.txt,mboot.c32,xen.gz} $MONDO_CACHE 2>> $LOGFILE || Die "Cannot copy core files to ramdisk for boot disk (under $MONDO_CACHE). Did you run out of disk space?" 1415 cp -f $MINDI_TMP/iso/{isolinux.cfg,initrd.img,vmlinuz,isolinux.bin,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?" 1416 if [ $KERNEL_IS_XEN = "yes" ]; then 1417 cp -f $MINDI_TMP/iso/{mboot.c32,xen.gz} $MONDO_ROOT 2>> $LOGFILE || Die "Cannot copy Xen core files to ramdisk for boot disk (under $MONDO_ROOT). Did you run out of disk space?" 1401 1418 fi 1402 1419 cp -f $MONDO_SHARE/autorun $MINDI_TMP/iso 2>> $LOGFILE … … 1685 1702 retval=0 1686 1703 1687 [ ! -e "$kernelpath" ] && Die "PBDI - cannot find $kernelpath kernel"1704 [ ! -e "$kernelpath" ] && Die "PBDI lilo - cannot find $kernelpath kernel" 1688 1705 echo -en "Making "$BOOT_SIZE"KB boot disk..." 1689 1706 TurnTgzIntoRdz $MINDI_DATA/rootfs $MINDI_TMP/initrd.img `du -sk $kernelpath | cut -f1` || Die "Could not turn rootfs into initrd.img; are you SURE your kernel supports loopfs?" … … 1749 1766 1750 1767 retval=0 1751 if [ $KERNEL_IS_XEN = "no" ]; then 1752 cp -f $kernelpath $mountpoint/vmlinuz &> /dev/null 1753 retval=$? 1754 else 1768 cp -f $kernelpath $mountpoint/vmlinuz &> /dev/null 1769 retval=$? 1770 if [ $KERNEL_IS_XEN = "yes" ]; then 1755 1771 cp -f $xenkernelpath $mountpoint/xenkernel &> /dev/null 1756 retval=$?1757 cp -f $kernelpath $mountpoint/vmlinuz &> /dev/null1758 1772 let retval+=$? 1759 1773 fi … … 1763 1777 du -sk $mountpoint/* >> $LOGFILE 1764 1778 LogFile "--- end of list of files ---" 1765 echo -en "Kernel size = `du -sk $kernelpath | cut -f1` K\nRamdisk free = $free_space K\n\ 1766 Sorry, your kernel is too big for your image.\n" >> $LOGFILE 1779 echo -en "Kernel size = `du -sk $kernelpath | cut -f1` K\nRamdisk free = $free_space K\n" >> $LOGFILE 1767 1780 [ "$mountpoint" != "" ] && rm -f $mountpoint/vmlinuz 1768 1781 cd $old_pwd … … 2056 2069 root="/" 2057 2070 fi 2058 for fname in `find $root -maxdepth 2 -type f | grep -E 'lin|kern' | grep -Ev '^/proc/|^/net/'` ; do 2071 # See if we're booted from a Xen kernel 2072 if [ -d /proc/sys/xen ]; then 2073 # It's a Xen kernel 2074 KERNEL_IS_XEN="yes" 2075 LogIt "It's a Xen kernel..." 2076 fi 2077 2078 for fname in `find $root -maxdepth 2 -type f | grep -Ei 'lin|kern|xen' | grep -Ev '^/proc/|^/net/'` ; do 2059 2079 [ ! -e "$fname" ] && continue 2060 2080 [ "$fname" = "/boot/vmlinuz.shipped" ] && [ -f "/boot/vmlinuz" ] && continue; # ignore SuSE's extra kernel … … 2098 2118 fi 2099 2119 fi 2100 possible_kernels=`echo "$possible_kernels" | tr -s ' ' '\n' | sort -u | tr '\n' ' '`2120 possible_kernels=`echo "$possible_kernels" | tr -s ' ' '\n' | grep -vi "xen" | sort -u | tr '\n' ' '` 2101 2121 noof_kernels=`CountItemsIn "$possible_kernels"` 2122 if [ $KERNEL_IS_XEN = "yes" ]; then 2123 possible_xenkernels=`echo "$possible_kernels" | tr -s ' ' '\n' | grep -i "xen" | sort -u | tr '\n' ' '` 2124 noof_xenkernels=`CountItemsIn "$possible_xenkernels"` 2125 FindMboot32Binary 2126 fi 2102 2127 if [ "$noof_kernels" -eq "0" ] ; then 2103 2128 LogAll "Could not find your kernel." … … 2118 2143 LogAll "$i is probably your kernel. " 2119 2144 output="$i" 2120 return2121 2145 fi 2122 2146 done 2123 if echo " $possible_kernels " | grep -F "/boot/vmlinuz " &> /dev/null ; then 2124 output=/boot/vmlinuz 2125 LogFile "Schlomo, this one's for you." 2147 if [ -n "$output" ]; then 2148 if echo " $possible_kernels " | grep -F "/boot/vmlinuz " &> /dev/null ; then 2149 output=/boot/vmlinuz 2150 echo "Schlomo, this one's for you." >> $LOGFILE 2151 else 2152 LogIt "Two or more possible kernels found. You may specify any one of them and the " 2153 LogIt "boot disks will still work, probably. If one does not work, try another." 2154 LogIt "$possible_kernels" 2155 echo "" 2156 fi 2157 fi 2158 fi 2159 if [ $KERNEL_IS_XEN = "yes" ]; then 2160 if [ "$noof_xenkernels" -eq "0" ]; then 2161 xenkernelpath="" 2162 elif [ "$noof_xenkernels" -eq "1" ]; then 2163 xenkernelpath=`echo "$possible_xenkernels" | sed s/' '//` 2164 echo "Your Xen kernel is $xenkernelpath (v$KERVERRUN)" >> $LOGFILE 2126 2165 else 2127 LogAll "Two or more possible kernels found. You may specify any one of them and the " 2128 LogAll "boot disks will still work, probably. If one does not work, try another." 2129 LogAll "$possible_kernels" 2130 echo "" 2131 fi 2132 fi 2133 echo "$output" | tr -s ' ' '\n' | sort -u | tr '\n' ' ' 2166 for i in $possible_xenkernels ; do 2167 if echo $i | grep "$KERVERRUN" ; then 2168 LogIt "OK, I used my initiative and found that " 2169 LogIt "$i is probably your Xen kernel. " 2170 xenkernelpath="$i" 2171 fi 2172 done 2173 if [ -n "$xenkernelpath" ]; then 2174 new_possible_xenkernels=`echo "$possible_xenkernels" | tr -s ' ' '\n' | grep -E "^/boot" | sort -u | tr '\n' ' '` 2175 if [ ! -n "$new_possible_xenkernels" ]; then 2176 xenkernelpath=`echo $new_possible_xenkernels | tr -s ' ' '\n' | head -1` 2177 LogIt "Using $xenkernelpath" 2178 else 2179 LogIt "Two or more possible Xen kernels found. You may specify any one of them and the " 2180 LogIt "boot disks will still work, probably. If one does not work, try another." 2181 LogIt "$possible_xenkernels" 2182 echo "" 2183 xenkernelpath=`echo $possible_xenkernels | tr -s ' ' '\n' | head -1` 2184 LogIt "Using $xenkernelpath" 2185 fi 2186 fi 2187 fi 2188 xenkernelname=`basename $xenkernelpath` 2189 if [[ -z "$xenkernelpath" || ! -f "$xenkernelpath" ]]; then 2190 Die "Cannot find Xen kernel $xenkernelpath, aborting" 2191 fi 2192 fi 2193 echo "$output" 2134 2194 } 2135 2195 … … 2277 2337 cat $MINDI_CACHE/mountlist.txt >> $LOGFILE 2278 2338 LogFile "-----------------------------------" 2339 2340 # Copy FW in case some drivers needs it 2341 if [ -d "/lib/firmware" ]; then 2342 cp -rp /lib/firmware $mountpoint/lib 2343 fi 2279 2344 2280 2345 cd $old_pwd … … 2663 2728 2664 2729 kernelpath=$4; [ "$kernelpath" = "(null)" ] && kernelpath="" 2665 # See if it's a Xen kernel 2666 if [ -n "$kernelpath" ]; then 2667 strings $kernelpath | grep -iq xen 2>/dev/null 2668 if [ $? -eq 0 ]; then 2669 # It's a Xen kernel 2670 KERNEL_IS_XEN=yes 2671 LogFile "It's a Xen kernel..." 2672 # WARNING: This will only work for RHEL 5 2673 # TODO: SLES and others 2674 # Use TryToFindKernelPath ? 2675 xenkernelpath="/boot/`uname -r | awk '{sub("[Xx][Ee][Nn]",""); printf("xen.gz-%s",$0)}'`" 2676 if [[ -z "$xenkernelpath" || ! -f "$xenkernelpath" ]]; then 2677 Die "Cannot find Xen kernel $xenkernelpath, aborting" 2678 fi 2679 xenkernelname=`basename $xenkernelpath` 2680 FindMboot32Binary 2681 fi 2682 fi 2683 2730 [ "$kernelpath" = "" ] && kernelpath=`TryToFindKernelPath` 2731 2684 2732 ### 2685 2733 ### Sq-Modification... … … 2691 2739 LogAll "xenkernelname = $xenkernelname" 2692 2740 fi 2693 kernelname=`echo $kernelpath | cut -d'-' -f2-` 2694 LogAll "kernelname = $kernelname" 2695 LogAll "kernelpath = $kernelpath" 2741 kernelname=`echo $kernelpath | cut -d'-' -f2- | sed 's/.[bg]z[2]*$//'` 2696 2742 if [ ! -d "/lib/modules/$kernelname" ] 2697 2743 then … … 2702 2748 LogAll "Using modules for kernel: ${kernelname}" 2703 2749 fi 2750 LogAll "kernelname = $kernelname" 2751 LogAll "kernelpath = $kernelpath" 2704 2752 ### 2705 2753 ### end of Sq-Modification … … 2733 2781 [ "$USE_LZMA" = "" ] && USE_LZMA=no 2734 2782 [ "$TAPEDEV" ] && LogAll "This is a tape-based backup. Fine." 2735 [ "$kernelpath" = "" ] && kernelpath=`TryToFindKernelPath`2736 kernelname=`echo $kernelpath | cut -d'-' -f2-`2737 if [ ! -d "/lib/modules/$kernelname" ]2738 then2739 LogAll "Module path for ${kernelpath} not found..."2740 LogAll "using running kernel\'s modules."2741 kernelname=$KERVERRUN2742 else2743 LogAll "Using modules for kernel: ${kernelname}"2744 fi2745 2783 2746 2784 MONDO_CACHE=/var/cache/mondo
Note:
See TracChangeset
for help on using the changeset viewer.