Ignore:
Timestamp:
Feb 12, 2007, 3:02:08 AM (13 years ago)
Author:
Bruno Cornec
Message:

Better mindi screen mesages
Still working on libmondo-archive.c (I know it's late :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r1141 r1142  
    27542754    find $mountpoint -name CVS -exec rm -rf '{}' \;
    27552755    # Determine what filesystem to use for initrd image
    2756     LogIt "Call GetInitrdFilesystemToUse() with parameter ${kernelpath} to get filesystem to use for initrd.\n"
     2756    echo "Call GetInitrdFilesystemToUse() with parameter ${kernelpath} to get filesystem to use for initrd." >> $LOGFILE
    27572757    gvFileSystem=`GetInitrdFilesystemToUse ${kernelpath}`
    27582758    [ -z  gvFileSystem ] && Die "GetFilesystemToUse() failed. Terminating."
     
    27602760    "ext2fs")
    27612761        # say what will be used
    2762             LogIt "Creating an ext2 initrd image..."
     2762        echo "Creating an ext2 initrd image..." >> $LOGFILE
    27632763        # kernel expects linuxrc in ext2 filesystem
    2764         ( cd $mountpoint && ln -s sbin/init linuxrc )
     2764        ( cd $mountpoint && ln -sf sbin/init linuxrc )
    27652765        # unmount loop filesystem and create image file using the standard approach
    27662766        umount $mountpoint || Die "Cannot unmount $tempfile"
    27672767        dd if=$tempfile bs=1k 2> /dev/null | gzip -v9 > $rdz_fname 2> /dev/null
    27682768        # log that we are done
    2769             LogIt "done.\n"
     2769        echo "...done." >> $LOGFILE
    27702770    ;;
    27712771    "initramfs")
    27722772        # say what will be used
    2773             LogIt "Creating a gzip'ed cpio (AKA initramfs) initrd image..."
     2773        echo "Creating a gzip'ed cpio (AKA initramfs) initrd image..." >> $LOGFILE
    27742774        # make sure that cpio is there
    27752775        which cpio &> /dev/null; [ $? -eq 0 ] || Die "cpio not found. Please install package cpio and try again."
     
    27772777        cd $mountpoint
    27782778        # kernel expects init in cpio filesystem
    2779         ln -s sbin/init init
     2779        ln -sf sbin/init init
    27802780        # create cpio image file and unmount loop filesystem
    27812781        find . -print | cpio -o -H newc | gzip -9 > $old_pwd/$rdz_fname 2> /dev/null
     
    27832783        umount $mountpoint || Die "Cannot unmount $tempfile"
    27842784        # log that we are done
    2785             LogIt "done.\n"
     2785        echo "...done." >> $LOGFILE
    27862786    ;;
    27872787    *)
Note: See TracChangeset for help on using the changeset viewer.