Ignore:
Timestamp:
Nov 18, 2009, 9:41:00 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3621@localhost: bruno | 2009-11-18 10:53:33 +0100

  • PrepareBootDiskImage replaces previously duplicated functions for lilo/isolinux handling and completely re-written
  • remove useless rootfs files
  • Use MINDI_CACHE instead of /tmp globally
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/rootfs/sbin/install-additional-tools

    r2445 r2488  
    1515# ------------ main -----------
    1616
    17 # if the file '/tmp/CDROM-LIVES-HERE' exists then we should use the CD
     17# if the file '$MINDI_CACHE/CDROM-LIVES-HERE' exists then we should use the CD
    1818
    1919LogIt "Starting install-additional-tools"
     
    4040
    4141    mountpoint=/dev/null
    42     [ -e "/tmp/CDROM-LIVES-HERE" ] && mountpoint=/mnt/cdrom/images
     42    [ -e "$MINDI_CACHE/CDROM-LIVES-HERE" ] && mountpoint=/mnt/cdrom/images
    4343    tarball=$mountpoint/all.tar.gz
    44     if [ -e "/tmp/CDROM-LIVES-HERE" ] ; then
     44    if [ -e "$MINDI_CACHE/CDROM-LIVES-HERE" ] ; then
    4545        [ -e "$tarball" ] || LogIt "Can't find CD's $tarball" 1
    4646    fi
     
    5858    cd $old_pwd
    5959    echo -e -n "\r"
    60     [ ! -e "/tmp/CDROM-LIVES-HERE" ] && umount $mountpoint
     60    [ ! -e "$MINDI_CACHE/CDROM-LIVES-HERE" ] && umount $mountpoint
    6161    sleep 1
    6262fi
Note: See TracChangeset for help on using the changeset viewer.