Changeset 3485


Ignore:
Timestamp:
Dec 1, 2015, 4:20:58 PM (22 months ago)
Author:
bruno
Message:
  • Fix an issue with syslinux done too early (for recent versions of syslinux) which wasn't working due to a lack of VFAT FS. Now done after the mkfs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3483 r3485  
    19181918    mkdir -p $mountpoint
    19191919    dd if=/dev/zero of=$imagefile bs=1k count=$BOOT_SIZE &> /dev/null || Die "Cannot dd blank file"
    1920     if [ "$BOOT_TYPE" = "BIOS" ]; then
    1921         # syslinux should be run on a  local file (doen't work through NFS Cf: #297)
    1922         syslinux $imagefile >> $LOGFILE 2>> $LOGFILE
    1923         imagefile2=$imagefile
    1924     fi
    19251920    if [ "$BOOT_TYPE" = "UEFI" ]; then
    19261921        # Should be GPT in that case to allow direct boot
     
    19321927    LogFile "INFO: Creating vfat filesystem on $imagefile"
    19331928    mkfs.vfat $imagefile2 >> $LOGFILE 2>> $LOGFILE
     1929
     1930    if [ "$BOOT_TYPE" = "BIOS" ]; then
     1931        # syslinux should be run on a  local file (doen't work through NFS Cf: #297)
     1932        # and run after the formating for versions > 6 it seems
     1933        syslinux $imagefile >> $LOGFILE 2>> $LOGFILE
     1934        imagefile2=$imagefile
     1935    fi
    19341936
    19351937    # Only move it now to its final destination and use it now
Note: See TracChangeset for help on using the changeset viewer.