Changeset 1535 in MondoRescue for branches/stable/mindi


Ignore:
Timestamp:
Jul 18, 2007, 6:18:02 PM (17 years ago)
Author:
Bruno Cornec
Message:

Use the configuration files in mondo (begining). That revision doesn't even compile.

Location:
branches/stable/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/distributions/conf/mindi.conf.dist

    r1520 r1535  
    170170"
    171171
     172#
     173# Options common between mindi and mondo are stored below
     174#
     175
     176#
     177# ISO image CLI command to use
     178# For mindi options are fixed and based on mkisofs options
     179# Potentially overwritten by monoarchive values
     180#
     181mr_iso_creation_cmd="/usr/bin/mkisofs"
     182#mindi_iso_creation_cmd="/usr/bin/growisofs"
     183
     184#
     185# ISO image common creation options (for mkisofs/growisofs/wodim)
     186# do not specify the -o, -c or the -b options, nor the directory to backup
     187# as they will be generated by mondoarchive
     188#
     189mr_iso_creation_opt="-J -r -p MondoRescue -publisher http://www.mondorescue.org -A MondoRescue"
     190#mr_iso_creation_options="-use-the-force-luke -v  -J -r -p MondoRescue -publisher www.mondorescue.org -A MondoRescue -V _CD#_"
  • branches/stable/mindi/mindi

    r1530 r1535  
    109109NET_MODS="$mindi_net_mods"
    110110EXTRA_MODS="$CDROM_MODS $mindi_extra_mods $mindi_additional_mods"
    111 DENY_MODS="mindi_deny_mods"
    112 FORCE_MODS="mindi_force_mods"
     111DENY_MODS="$mindi_deny_mods"
     112FORCE_MODS="$mindi_force_mods"
     113ISO_CMD="$mr_iso_creation_cmd"
     114ISO_OPT="$mr_iso_creation_opt"
    113115
    114116BOOT_MEDIA_MESSAGE="$mindi_boot_msg"
     
    16171619            cp -f $MONDO_SHARE/autorun . 2>> $LOGFILE
    16181620        fi
    1619         mkisofs -U -J -r -o $MINDI_CACHE/mindi.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table . > /dev/null 2> $MINDI_TMP/mkisofs.log
    1620     else
    1621         mkisofs -J -r -o $MINDI_CACHE/mindi.iso -b images/mindi-bootroot.$BOOT_SIZE.img -c isolinux/boot.cat -no-emul-boot . > /dev/null 2> $MINDI_TMP/mkisofs.log
     1621        $ISO_CMD -U $ISO_OPT -V Mindi_Image -o $MINDI_CACHE/mindi.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table . > /dev/null 2> $MINDI_TMP/mkisofs.log
     1622    else
     1623        $ISO_CMD $ISO_OPT -V Mindi_Image -o $MINDI_CACHE/mindi.iso -b images/mindi-bootroot.$BOOT_SIZE.img -c isolinux/boot.cat -no-emul-boot . > /dev/null 2> $MINDI_TMP/mkisofs.log
    16221624    fi
    16231625    if [ "$?" -ne "0" ] ; then
    1624         echo "----------- mkisofs's errors --------------" >> $LOGFILE
     1626        echo "----------- $ISO_CMD's errors --------------" >> $LOGFILE
    16251627        cat $MINDI_TMP/mkisofs.log >> $LOGFILE
    1626         echo "mkisofs returned the following errors:-"
     1628        echo "$ISO_CMD returned the following errors:-"
    16271629        cat $MINDI_TMP/mkisofs.log
    16281630        LogIt "Failed to create ISO image."
     
    29072909    shift
    29082910    if [ _"$1" != _"" ] ; then
    2909         set | egrep "^$1" | cut -d= -f2
     2911        set | grep -Ew "^$1" | cut -d= -f2
    29102912    fi
    29112913    MindiExit 0
Note: See TracChangeset for help on using the changeset viewer.