Ignore:
Timestamp:
Mar 9, 2016, 6:17:17 PM (4 years ago)
Author:
Bruno Cornec
Message:
  • Use mkfs.vfat now everywhere (removes mkdosfs references)
  • Avoid using -F 32 to let the mkfs.vfat command choose the best size by itself. Should fix an issue with mr-label with UUIDs and also errors creating bootroot FS with mindi
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3528 r3531  
    16981698
    16991699LogAll "INFO: Creating a vfat filesystem on $part"
    1700 mkdosfs -F 32 $part 2>&1 >> $LOGFILE
     1700
     1701mkfs.vfat $part 2>&1 >> $LOGFILE
    17011702if [ $? -ne 0 ]; then
    17021703    LogAll "ERROR: Unable to create a vfat filesystem on $part"
     
    17641765    # ISO
    17651766    if [ "$BOOT_TYPE" = "BIOS" ]; then
    1766         # syslinux should be run on a  local file (doen't work through NFS Cf: #297)
     1767        # syslinux should be run on a local file (doen't work through NFS Cf: #297)
    17671768        # and run after the formating for versions > 6 it seems
    17681769        syslinux $part >> $LOGFILE 2>> $LOGFILE
     
    29402941LogFile "-----------------------------"
    29412942
    2942 [ -e "/sbin/mkdosfs" ] && [ ! -e "/sbin/mkfs.vfat" ] && LogAll "/sbin/mkfs.vfat is missing!"
    2943 
    29442943# Log some capital variables
    29452944[ "$MINDI_PREFIX" = "XXX" ] && Die "Mindi has not been installed correctly."
Note: See TracChangeset for help on using the changeset viewer.