Changeset 3725 in MondoRescue
- Timestamp:
- Nov 10, 2019, 6:20:17 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi/mindi
r3722 r3725 521 521 if [ ! -e "$LDLINUXC32" ]; then 522 522 LogFile "INFO: If you use syslinux 5.x, you may miss ldlinux.c32. If your syslinux RPM doesn't include ldlinux.c32, you may want to download another one" 523 LDLINUXC32=/tmp/i doesnthopefullyexist523 LDLINUXC32=/tmp/itdoesntexist 524 524 else 525 525 LogFile "INFO: Found ldlinux.c32 at $LDLINUXC32" … … 2120 2120 FindLdlinux32Binary 2121 2121 2122 dname=`pbdistrocheck | grep -E '^Name:' | cut -d':' -f2` 2123 dver=`pbdistrocheck | grep -E '^Ver:' | cut -d':' -f2` 2124 2122 2125 if [ "$BOOT_TYPE" != "BIOS" ]; then 2123 2126 if [ "$BOOT_TYPE" = "UNKNOWN" ]; then … … 2147 2150 2148 2151 # On RHEL6 grub works 2149 dname=`pbdistrocheck | grep -E '^Name:' | cut -d':' -f2`2150 dver=`pbdistrocheck | grep -E '^Ver:' | cut -d':' -f2`2151 2152 if [ $dname = "rhel" -o $dname = "centos" -o $dname = "oel" ] && [ $dver = "6" ]; then 2152 2153 boottype=grub … … 2231 2232 cp $LDLINUXC32 "$tgdir" 2>> $LOGFILE || Die "Cannot copy $LDLINUXC32 to $tgdir. Did you run out of disk space?" 2232 2233 fi 2233 if [ -e $LDLINUXC32/../isolinux.c32 ]; then2234 if [ -e `dirname $LDLINUXC32`/isolinux.c32 ]; then 2234 2235 LogFile "INFO: Copying isolinux.c32 to $tgdir" 2235 cp $LDLINUXC32/../isolinux.c32 $tgdir 2>> $LOGFILE || Die "Cannot copy isolinux.c32 to $tgdir). Did you run out of disk space?"2236 cp `dirname $LDLINUXC32`/isolinux.c32 $tgdir 2>> $LOGFILE || Die "Cannot copy isolinux.c32 to $tgdir). Did you run out of disk space?" 2236 2237 fi 2237 2238 … … 2248 2249 cat $bigdir/EFI/syslinux.cfg >> $LOGFILE 2249 2250 LogFile "---------------------------------------------------" 2251 if [ $dname = "debian" ] && [ $dver -ge 8 ]; then 2252 # In that case it seems we need conf file at the root of the media 2253 cp -a $bigdir/EFI/* $bigdir 2254 fi 2250 2255 fi 2251 2256
Note:
See TracChangeset
for help on using the changeset viewer.