Changeset 3402 in MondoRescue


Ignore:
Timestamp:
Aug 5, 2015, 7:44:14 AM (4 years ago)
Author:
Bruno Cornec
Message:

mindi should use grub for UEFI for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3399 r3402  
    18741874        fi
    18751875        # EFI or UEFI
     1876        # BCO names are hard-coded for now
    18761877        if [ $BOOT_TYPE = "UEFI" ]; then
    18771878            # UEFI
    18781879            lilodir=$mountpoint/EFI
    18791880            mkdir -p $lilodir
    1880             liloconf=$lilodir/BOOTX64.conf
    1881             lilobin=BOOTX64.efi
     1881            liloconf="$lilodir/grub.conf"
     1882            lilobin="grub.efi"
    18821883           
    18831884            MakeBootConfFile grub > $liloconf
     
    18861887            lilodir=$mountpoint
    18871888            mkdir -p $lilodir
    1888             liloconf=$mountpoint/elilo.conf
    1889             lilobin=elilo.efi
     1889            liloconf="$mountpoint/elilo.conf"
     1890            lilobin="elilo.efi"
    18901891
    18911892            MakeBootConfFile elilo > $liloconf
     
    19031904            mountefi=1
    19041905        fi
    1905         el=`find /boot/efi -name $lilobin`
     1906        el=`find /boot/efi -iname $lilobin`
    19061907        cp $el $lilodir
    1907         cp $liloconf $lilodir
    19081908        if [ $mountefi -eq 1 ]; then
    19091909            umount /boot/efi 2>&1 > /dev/null
     
    19771977    fi
    19781978    [ "$imagefile" != "" ] && rm -f $imagefile
    1979     [ "$retval" -ne "0" ] && LogAll "ERROR: PrepareBootDiskImage() is returning nonzero"
     1979    [ "$retval" -ne "0" ] && LogAll "ERROR: PrepareBootDiskImage() is returning $retval"
    19801980    return $retval
    19811981}
Note: See TracChangeset for help on using the changeset viewer.