Changeset 2948


Ignore:
Timestamp:
Feb 15, 2012, 1:50:39 AM (5 years ago)
Author:
bruno
Message:
  • Fix #576 by truncating the mesage text created with cut
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r2947 r2948  
    14701470        fi
    14711471    done
    1472     MakeMessageFile > $MINDI_TMP/iso/message.txt
     1472    MakeMessageFile | cut -c1-80 > $MINDI_TMP/iso/message.txt
    14731473    if [ $KERNEL_IS_XEN = "yes" ]; then
    14741474        cp $xenkernelpath $MINDI_TMP/iso/xen.gz 2>> $LOGFILE || Die "Cannot copy xen.gz ($xenkernelpath) to mindi tmp ($MINDI_TMP/iso/xen.gz). Did you run out of disk space?"
     
    16281628    done
    16291629    echo -en "."
    1630     MakeMessageFile > $MINDI_TMP/usb/message.txt
     1630    MakeMessageFile | cut -c1-80 > $MINDI_TMP/usb/message.txt
    16311631    echo -en "."
    16321632    cp $kernelpath $MINDI_TMP/usb/vmlinuz 2>> $LOGFILE || Die "Cannot copy vmlinuz ($kernelpath) to mindi tmp ($MINDI_TMP/usb/vmlinuz). Did you run out of disk space?"
     
    18471847        retval=$(($retval+1))
    18481848    fi
    1849     MakeMessageFile > $mountpoint/message.txt
     1849    MakeMessageFile | cut -c1-80 > $mountpoint/message.txt
    18501850
    18511851    mkdir -p $mountpoint/tmp
     
    19311931
    19321932    # copy Mindi's skeleton fs & lilo/syslinux/whatever stuff into it
    1933     MakeMessageFile > $mountpoint/message.txt
     1933    MakeMessageFile | cut -c1-80 > $mountpoint/message.txt
    19341934    MakeBootConfFile isolinux > $mountpoint/syslinux.cfg
    19351935    echo "Copying $MINDI_TMP/initrd.img to $mountpoint/initrd.img..." >> $LOGFILE
     
    29852985        MindiExit $?
    29862986    elif [ "$1" = "--makemessage" ] ; then
    2987         MakeMessageFile
     2987        MakeMessageFile | cut -c1-80
    29882988        MindiExit 0
    29892989    elif [ "$1" = "--makemountlist" ] ; then
Note: See TracChangeset for help on using the changeset viewer.