Changeset 2691 in MondoRescue for branches/2.2.9/mindi/mindi


Ignore:
Timestamp:
Jan 5, 2011, 3:53:45 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Boot size pushed to 20MB
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2690 r2691  
    3535
    3636EXTRA_SPACE=49152       # increase if you run out of ramdisk space
    37 BOOT_SIZE=16384         # size of the boot disk
     37BOOT_SIZE=20000         # size of the boot disk
    3838
    3939PROMPT_MAKE_CD_IMAGE="yes"
     
    17821782        du -sk $mountpoint/* >> $LOGFILE
    17831783        echo "--- end of list of files ---" >> $LOGFILE
    1784         echo -en "Kernel size = `du -sk $kernelpath | cut -f1` K\nRamdisk free = $free_space K\n\
    1785 Sorry, your kernel is too big for your image.\n" >> $LOGFILE
     1784        echo -en "Kernel size = `du -sk $kernelpath | cut -f1` K\nRamdisk free = $free_space K\n" >> $LOGFILE
    17861785        [ "$mountpoint" != "" ] && rm -f $mountpoint/vmlinuz
    17871786        cd $old_pwd
     
    17901789    #   losetup /dev/loop0 -d
    17911790        [ "$imagefile" != "" ] && rm -f $imagefile
     1791        Die "Sorry, your kernel is too big for your image"
    17921792        return 0
    17931793    fi
     
    18841884        du -sk $mountpoint/* >> $LOGFILE
    18851885        echo "--- end of list of files ---" >> $LOGFILE
    1886         echo -en "Kernel size = `du -sk $kernelpath | cut -f1` K\nRamdisk free = $free_space K\n\
    1887 Sorry, your kernel is too big for your image.\n" >> $LOGFILE
     1886        echo -en "Kernel size = `du -sk $kernelpath | cut -f1` K\nRamdisk free = $free_space K\n" >> $LOGFILE
    18881887        [ "$mountpoint" != "" ] && rm -f $mountpoint/vmlinuz
    18891888        cd $old_pwd
     
    18911890        rmdir $mountpoint || LogIt "Cannot rmdir (PBDI)"
    18921891
    1893         [ "$imagefile" != "" ] && rm -f $imagefile
     1892        Die "Sorry, your kernel is too big for your image"
    18941893        return 0
    18951894    fi
Note: See TracChangeset for help on using the changeset viewer.