Ignore:
Timestamp:
Apr 12, 2006, 11:41:07 AM (14 years ago)
Author:
bcornec
Message:

More mindi configuration added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r462 r473  
    1515### Which arch are we on (useful for ia64 port)
    1616export ARCH=`/bin/arch`
    17 
    18 ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount exec-shield=0 noresume selinux=0 barrier=off"
    1917
    2018RUN_AFTER_INITIAL_BOOT_PHASE="echo \"Who lives in a pineapple under the sea?\" > /tmp/spongebob.squarepants.txt"
     
    6260    IA64_BOOT_SIZE=$mindi_ia64_boot_size
    6361fi
    64 
    6562if [ "$mindi_deplist_dir" == "" ]; then
    6663    DEPLIST_DIR="$MINDI_CONF/deplist.d"
     
    6865    DEPLIST_DIR="$mindi_deplist_dir"
    6966fi
     67# TBC
    7068if [ "$mindi_write_boot_floppy" == "" ]; then
    7169    WRITE_BOOT_FLOPPIES="yes"
     
    7371    WRITE_BOOT_FLOPPIES="$mindi_write_boot_floppy"
    7472fi
    75 if [ "$mindi_write_mindi_cd" == "" ]; then
    76     WRITE_BOOT_FLOPPIES="yes"
     73# TBC
     74if [ "$mindi_write_cd" == "" ]; then
     75    WRITE_MINDI_CD="yes"
    7776else
    78     WRITE_BOOT_FLOPPIES="$mindi_write_boot_floppy"
     77    WRITE_MINDI_CD="$mindi_write_cd"
    7978fi
     79# TBC
    8080if [ "$mindi_images_dir" == "" ]; then
    8181    CACHE_LOC="/var/cache/mindi"
     
    9898    FDDEVICE="$mindi_fd_device"
    9999fi
     100if [ "mindi_boot_params" == "" ]; then
     101    ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount exec-shield=0 noresume selinux=0 barrier=off"
     102else
     103    ADDITIONAL_BOOT_PARAMS="$mindi_boot_params"
     104fi
     105
    100106
    101107# Other parameters
     
    17841790    return $res
    17851791
    1786 # --- the kernel-only method NO LONGER WORKS. Not since Apr 2002.
    1787 # It should work, according to the Boot Disk HOWTO, but it doesn't.
    1788 # It works for my failsafe kernel & for RH7.2 but not RH7.3, 8.0, etc.
    1789 # -Hugo, Apr 19th 2004
    1790 #   dd if=$1 of=$2 bs=1k &> /dev/null || Die "Cannot dd blank file"
    1791 #   dd if=/dev/zero bs=1k count=$3 >> $2 2> /dev/null || Die "Cannot dd blank file"
    1792 #   mv -f $2 $2.old
    1793 #   dd if=$2.old bs=1k count=$3 of=$2 &> /dev/null || Die "Cannot dd blank file"
    1794 #   rm -f $2.old
    1795 #   if [ "$3" = "1440" ] ; then
    1796 #       rdev $2 "/dev/fd0H"$3
    1797 #   else
    1798 #       rdev $2 "/dev/fd0u"$3
    1799 #   fi
    1800 #   rdev -R $2 0
    1801 #   rdev -r $2 49152
    18021792}
    18031793
     
    22572247    noof_disks=$?
    22582248    [ "$noof_disks" -eq "0" ] && Die "Too much stuff!"
    2259 #    if [ "$noof_disks" -ge "8" ] ; then
    2260 #        LogIt "You are putting a ludicrously large amount of data on these disks."
    2261 #        LogIt "I shall therefore double EXTRA_SPACE, just in case your ramdisk is too small."
    2262 #        EXTRA_SPACE=$(($EXTRA_SPACE*2))
    2263 #    fi
    22642249    MakeMountlist $TMP_ROOT/mountlist.txt
    22652250    mkdir -p $minidir_root/$noof_disks/tmp
Note: See TracChangeset for help on using the changeset viewer.