Changeset 572 in MondoRescue for branches/stable/mindi
- Timestamp:
- May 24, 2006, 12:20:19 AM (19 years ago)
- Location:
- branches/stable/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/distributions/gentoo/mindi.ebuild
r556 r572 1 # Copyright 1999-200 5Gentoo Foundation1 # Copyright 1999-2004 Gentoo Foundation 2 2 # Distributed under the terms of the GNU General Public License v2 3 # $Header: $ 4 3 5 # $Id$ 4 # $Header$5 6 6 7 DESCRIPTION="A program that creates emergency boot disks/CDs using your kernel, tools and modules." -
branches/stable/mindi/mindi
r543 r572 702 702 pwd=`pwd` 703 703 if [ "$YOUR_KERNEL_SUCKS" ] ; then 704 cd $TMP_ROOT705 else 706 cd /704 cd $TMP_ROOT 705 else 706 cd / 707 707 fi 708 708 if [ ! -e "$1" ] ; then 709 LogIt "Warning - cannot search specific path '$1'\n"710 return 1709 LogIt "Warning - cannot search specific path '$1'\n" 710 return 1 711 711 fi 712 712 modpaths=`find $1 -name $2.*o -type f` … … 1222 1222 echo "echo -en \"Loading your modules...\"" >> $outfile 1223 1223 if [ "$YOUR_KERNEL_SUCKS" ] ; then 1224 kver=$FAILSAFE_KVER1225 cd $TMP_ROOT1226 searchpath=lib/modules/$kver1224 kver=$FAILSAFE_KVER 1225 cd $TMP_ROOT 1226 searchpath=lib/modules/$kver 1227 1227 else 1228 1228 ### … … 1239 1239 ### Sq-Modification end 1240 1240 ### 1241 searchpath=/lib/modules/$kver1241 searchpath=/lib/modules/$kver 1242 1242 fi 1243 1243 … … 2780 2780 old_pwd=`pwd` 2781 2781 if [ "$YOUR_KERNEL_SUCKS" ] ; then 2782 cd $TMP_ROOT2783 floppy_modules_path=lib/modules/$FAILSAFE_KVER2784 else 2785 cd /2782 cd $TMP_ROOT 2783 floppy_modules_path=lib/modules/$FAILSAFE_KVER 2784 else 2785 cd / 2786 2786 ### 2787 2787 ### Sq-Modification... Use kernel name in module path if specified. … … 2790 2790 if [ "${kernelname}" != "" ] 2791 2791 then 2792 2792 floppy_modules_path=lib/modules/${kernelname} 2793 2793 else 2794 2794 floppy_modules_path=lib/modules/`uname -r` 2795 2795 fi 2796 2796 ### … … 2800 2800 floppy_modules="" 2801 2801 if [ "$disksize" -lt "2880" ] ; then 2802 list_of_groovy_mods="$FLOPPY_MODS `WhichOfTheseModulesAreLoaded "$SCSI_MODS"`"2802 list_of_groovy_mods="$FLOPPY_MODS $IDE_MODS ide-scsi sr_mod `WhichOfTheseModulesAreLoaded "$SCSI_MODS"`" 2803 2803 else 2804 2804 list_of_groovy_mods="$CDROM_MODS `WhichOfTheseModulesAreLoaded "$SCSI_MODS"`" … … 2815 2815 [ -e "$floppy_modules_path" ] || LogIt "path $floppy_modules_path does not exist.\n If you're not using a modular kernel then you're NUTS.\n" 2816 2816 for i in $list_of_groovy_mods ; do 2817 floppy_modules="$floppy_modules `FindSpecificModuleInPath $floppy_modules_path $i`"2817 floppy_modules="$floppy_modules `FindSpecificModuleInPath $floppy_modules_path $i`" 2818 2818 done 2819 2819 for i in $floppy_modules ; do 2820 2820 [ -e "$i" ] && s=`du -sk $i | cut -f1` || s="" 2821 [ "$YOUR_KERNEL_SUCKS" ] && i=$TMP_ROOT/$i2822 echo "Adding $i ($s KB) to the rootfs" >> $LOGFILE2823 cp -df $i $mountpoint/ || LogIt "Unable to copy $i to $mountpoint\n"2824 [ "`echo "$i" | fgrep ".gz"`" ] && gunzip -f $mountpoint/`basename $i`2821 [ "$YOUR_KERNEL_SUCKS" ] && i=$TMP_ROOT/$i 2822 echo "Adding $i ($s KB) to the rootfs" >> $LOGFILE 2823 cp -df $i $mountpoint/ || LogIt "Unable to copy $i to $mountpoint\n" 2824 [ "`echo "$i" | fgrep ".gz"`" ] && gunzip -f $mountpoint/`basename $i` 2825 2825 done 2826 2826 # if [ -e "/dev/.devfsd" ] ; then
Note:
See TracChangeset
for help on using the changeset viewer.